diff options
author | Stefan Roese <sr@denx.de> | 2012-01-05 11:19:50 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:43 +0200 |
commit | 94aebe6cc3111c7c9e3cd1311cc9793d01cc3ded (patch) | |
tree | 379437fc3de1086ea11f61414c448dc48e2b7e55 /config.mk | |
parent | d014e033889f10d40d009cc7bad00893293b640e (diff) |
Makefile: Add u-boot.spr build target (SPEAr)
On x600 (SPEAr600) U-Boot is appended to U-Boot SPL. Both images are
created using mkimage (crc etc), so that the ROM bootloader can check
its integrity. Padding needs to be done to the SPL image (with
mkimage header) and not the binary. Otherwise the resulting image
which is loaded/copied by the ROM bootloader to SRAM doesn't fit.
The resulting image containing both U-Boot images is called u-boot.spr.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Amit Virdi <amit.virdi@st.com>
Cc: Vipin Kumar <vipin.kumar@st.com>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk index c239f2315d4..3dcea6a8f99 100644 --- a/config.mk +++ b/config.mk @@ -205,6 +205,10 @@ ifneq ($(CONFIG_SPL_TEXT_BASE),) CPPFLAGS += -DCONFIG_SPL_TEXT_BASE=$(CONFIG_SPL_TEXT_BASE) endif +ifneq ($(CONFIG_SPL_PAD_TO),) +CPPFLAGS += -DCONFIG_SPL_PAD_TO=$(CONFIG_SPL_PAD_TO) +endif + ifeq ($(CONFIG_SPL_BUILD),y) CPPFLAGS += -DCONFIG_SPL_BUILD endif |