summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea8256f)
raw | patch | inline | side by side (parent: ea8256f)
author | Stefan Roese <sr@denx.de> | |
Wed, 26 Sep 2012 11:01:00 +0000 (13:01 +0200) | ||
committer | Stefan Roese <sr@denx.de> | |
Wed, 5 Dec 2012 16:30:27 +0000 (17:30 +0100) |
With this patch, getenv_f() can be included easily into the SPL
binary. With this, SPL boards can now use getenv_f() to read
environment variables (e.g. to detect if the OS or U-Boot shall
be executed).
In the approach this is done for env stored in NOR flash, as this
will be used by an upcoming MPC5200 board port.
Signed-off-by: Stefan Roese <sr@denx.de>
binary. With this, SPL boards can now use getenv_f() to read
environment variables (e.g. to detect if the OS or U-Boot shall
be executed).
In the approach this is done for env stored in NOR flash, as this
will be used by an upcoming MPC5200 board port.
Signed-off-by: Stefan Roese <sr@denx.de>
common/Makefile | patch | blob | history |
diff --git a/common/Makefile b/common/Makefile
index 9e433222115ae16fb9a12cfb1a60807bf9229c70..c29a7d82e3318673a605f6cac79bab1e4e8e0ba0 100644 (file)
--- a/common/Makefile
+++ b/common/Makefile
endif
ifdef CONFIG_SPL_BUILD
+COBJS-y += cmd_nvedit.o
+COBJS-y += env_common.o
+COBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
COBJS-$(CONFIG_SPL_YMODEM_SUPPORT) += xyzModem.o
COBJS-$(CONFIG_SPL_NET_SUPPORT) += cmd_nvedit.o
COBJS-$(CONFIG_SPL_NET_SUPPORT) += env_common.o