summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-07-21 09:10:30 -0400
committerU-Boot <uboot@aari01-12.(none)>2011-08-03 12:49:20 +0200
commit3decb14abe76d244ba98fd158ef95f89e7e37d70 (patch)
tree26801dea2222c668be62625a9c0313be747c95cf /spl
parent8cf686e19b6922a2a6b401af188dfb83414c3c04 (diff)
mkimage: Add OMAP boot image support
- Add mkimage support for OMAP boot image - Add support for OMAP boot image(MLO) generation in the new SPL framework Signed-off-by: John Rigby <john.rigby@linaro.org> Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 0204f973493..87f13f600fc 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -85,6 +85,12 @@ LDPPFLAGS += \
$(shell $(LD) --version | \
sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p')
+ifdef CONFIG_OMAP
+$(OBJTREE)/MLO: $(obj)u-boot-spl.bin
+ $(OBJTREE)/tools/mkimage -T omapimage \
+ -a $(CONFIG_SPL_TEXT_BASE) -d $< $@
+endif
+
ALL-y += $(obj)u-boot-spl.bin
all: $(ALL-y)