u-boot-brain/arch/arm
Hans de Goede e79c7c8810 sunxi: When we've both mmc0 and mmc2, detect from which one we're booting
sunxi SOCs can boot from both mmc0 and mmc2, detect from which one we're
booting, and make that one "mmc dev 0" so that a single u-boot binary can
be used for both the onboard eMMC and for external sdcards.

When we're booting from mmc2, we make it dev 0 because that is where the SPL
will load the tertiary payload (the actual u-boot binary in our case) from,
see: common/spl/spl_mmc.c, which has dev 0 hardcoded everywhere.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
2014-10-24 09:35:38 +02:00
..
cpu ARM: sunxi: Add basic A31 support 2014-10-24 09:35:38 +02:00
dts Merge branch 'master' of git://git.denx.de/u-boot-tegra 2014-10-23 14:05:34 -04:00
imx-common dm: imx: i2c: Use gpio_request() to request GPIOs 2014-10-22 10:36:55 -06:00
include/asm sunxi: When we've both mmc0 and mmc2, detect from which one we're booting 2014-10-24 09:35:38 +02:00
lib arm: cache: Add support for write-allocate D-Cache 2014-10-06 17:40:21 +02:00
mvebu-common arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo() 2014-10-23 09:59:21 -04:00
config.mk kconfig: delete redundant CONFIG_${ARCH} definition 2014-07-30 14:42:02 -04:00
Kconfig ARM: sunxi: Add basic A31 support 2014-10-24 09:35:38 +02:00