aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Campbell2014-05-05 05:52:30 -0500
committerAlbert ARIBAUD2014-05-25 09:31:03 -0500
commit50827a5991bb345319bd0ce76f5e2402fac0c391 (patch)
tree541341b0565b8f27666a628f73c030bf3697c35d /Makefile
parente24ea55c04a8ee9c273dd879edda23bbde3d807a (diff)
downloadu-boot-50827a5991bb345319bd0ce76f5e2402fac0c391.tar.gz
u-boot-50827a5991bb345319bd0ce76f5e2402fac0c391.tar.xz
u-boot-50827a5991bb345319bd0ce76f5e2402fac0c391.zip
sunxi: non-FEL SPL boot support for sun7i
Add support for booting from an MMC card. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Henrik Nordström <henrik@henriknordstrom.net> Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Reviewed-by: Marek Vasut <marex@denx.de> Cc: Tom Cubie <Mr.hipboi@gmail.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 928a8808b6..966fd14844 100644
--- a/Makefile
+++ b/Makefile
@@ -937,6 +937,13 @@ OBJCOPYFLAGS_u-boot-spi.gph = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO)
937u-boot-spi.gph: spl/u-boot-spl.gph u-boot.img FORCE 937u-boot-spi.gph: spl/u-boot-spl.gph u-boot.img FORCE
938 $(call if_changed,pad_cat) 938 $(call if_changed,pad_cat)
939 939
940ifneq ($(CONFIG_SUNXI),)
941OBJCOPYFLAGS_u-boot-sunxi-with-spl.bin = -I binary -O binary \
942 --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0xff
943u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.img FORCE
944 $(call if_changed,pad_cat)
945endif
946
940ifneq ($(CONFIG_TEGRA),) 947ifneq ($(CONFIG_TEGRA),)
941OBJCOPYFLAGS_u-boot-nodtb-tegra.bin = -O binary --pad-to=$(CONFIG_SYS_TEXT_BASE) 948OBJCOPYFLAGS_u-boot-nodtb-tegra.bin = -O binary --pad-to=$(CONFIG_SYS_TEXT_BASE)
942u-boot-nodtb-tegra.bin: spl/u-boot-spl u-boot.bin FORCE 949u-boot-nodtb-tegra.bin: spl/u-boot-spl u-boot.bin FORCE
@@ -1163,6 +1170,9 @@ spl/u-boot-spl.bin: spl/u-boot-spl
1163spl/u-boot-spl: tools prepare 1170spl/u-boot-spl: tools prepare
1164 $(Q)$(MAKE) obj=spl -f $(srctree)/spl/Makefile all 1171 $(Q)$(MAKE) obj=spl -f $(srctree)/spl/Makefile all
1165 1172
1173spl/sunxi-spl.bin: spl/u-boot-spl
1174 @:
1175
1166tpl/u-boot-tpl.bin: tools prepare 1176tpl/u-boot-tpl.bin: tools prepare
1167 $(Q)$(MAKE) obj=tpl -f $(srctree)/spl/Makefile all CONFIG_TPL_BUILD=y 1177 $(Q)$(MAKE) obj=tpl -f $(srctree)/spl/Makefile all CONFIG_TPL_BUILD=y
1168 1178