diff options
author | Ian Campbell | 2014-05-05 05:52:30 -0500 |
---|---|---|
committer | Albert ARIBAUD | 2014-05-25 09:31:03 -0500 |
commit | 50827a5991bb345319bd0ce76f5e2402fac0c391 (patch) | |
tree | 541341b0565b8f27666a628f73c030bf3697c35d /Makefile | |
parent | e24ea55c04a8ee9c273dd879edda23bbde3d807a (diff) | |
download | u-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-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -937,6 +937,13 @@ OBJCOPYFLAGS_u-boot-spi.gph = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) | |||
937 | u-boot-spi.gph: spl/u-boot-spl.gph u-boot.img FORCE | 937 | u-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 | ||
940 | ifneq ($(CONFIG_SUNXI),) | ||
941 | OBJCOPYFLAGS_u-boot-sunxi-with-spl.bin = -I binary -O binary \ | ||
942 | --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0xff | ||
943 | u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.img FORCE | ||
944 | $(call if_changed,pad_cat) | ||
945 | endif | ||
946 | |||
940 | ifneq ($(CONFIG_TEGRA),) | 947 | ifneq ($(CONFIG_TEGRA),) |
941 | OBJCOPYFLAGS_u-boot-nodtb-tegra.bin = -O binary --pad-to=$(CONFIG_SYS_TEXT_BASE) | 948 | OBJCOPYFLAGS_u-boot-nodtb-tegra.bin = -O binary --pad-to=$(CONFIG_SYS_TEXT_BASE) |
942 | u-boot-nodtb-tegra.bin: spl/u-boot-spl u-boot.bin FORCE | 949 | u-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 | |||
1163 | spl/u-boot-spl: tools prepare | 1170 | spl/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 | ||
1173 | spl/sunxi-spl.bin: spl/u-boot-spl | ||
1174 | @: | ||
1175 | |||
1166 | tpl/u-boot-tpl.bin: tools prepare | 1176 | tpl/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 | ||