diff options
author | Tom Rini | 2012-10-16 08:06:06 -0500 |
---|---|---|
committer | Tom Rini | 2012-10-25 13:30:50 -0500 |
commit | 79b9ebb7007cd99409ff506c1bf57b2ab0975243 (patch) | |
tree | 50be078e8075e3472788ad1446f7cbeff64cdac3 /spl | |
parent | 22cbeed454087ffa6ae6e56880bfff125497619b (diff) | |
download | u-boot-79b9ebb7007cd99409ff506c1bf57b2ab0975243.tar.gz u-boot-79b9ebb7007cd99409ff506c1bf57b2ab0975243.tar.xz u-boot-79b9ebb7007cd99409ff506c1bf57b2ab0975243.zip |
omapimage: Add support for byteswapped SPI images
Add MLO.byteswap as a target to spl/Makefile and un-guard the first MLO
rule so we don't have to duplicate it.
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'spl')
-rw-r--r-- | spl/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/spl/Makefile b/spl/Makefile index 92267d6dea..7b52bd1070 100644 --- a/spl/Makefile +++ b/spl/Makefile | |||
@@ -112,16 +112,13 @@ LDPPFLAGS += \ | |||
112 | $(shell $(LD) --version | \ | 112 | $(shell $(LD) --version | \ |
113 | sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p') | 113 | sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p') |
114 | 114 | ||
115 | ifdef CONFIG_OMAP | ||
116 | $(OBJTREE)/MLO: $(obj)u-boot-spl.bin | 115 | $(OBJTREE)/MLO: $(obj)u-boot-spl.bin |
117 | $(OBJTREE)/tools/mkimage -T omapimage \ | 116 | $(OBJTREE)/tools/mkimage -T omapimage \ |
118 | -a $(CONFIG_SPL_TEXT_BASE) -d $< $@ | 117 | -a $(CONFIG_SPL_TEXT_BASE) -d $< $@ |
119 | endif | 118 | |
120 | ifdef CONFIG_AM33XX | 119 | $(OBJTREE)/MLO.byteswap: $(obj)u-boot-spl.bin |
121 | $(OBJTREE)/MLO: $(obj)u-boot-spl.bin | 120 | $(OBJTREE)/tools/mkimage -T omapimage -n byteswap \ |
122 | $(OBJTREE)/tools/mkimage -T omapimage \ | ||
123 | -a $(CONFIG_SPL_TEXT_BASE) -d $< $@ | 121 | -a $(CONFIG_SPL_TEXT_BASE) -d $< $@ |
124 | endif | ||
125 | 122 | ||
126 | ALL-y += $(obj)u-boot-spl.bin | 123 | ALL-y += $(obj)u-boot-spl.bin |
127 | 124 | ||