u-boot/arch/arm/include/asm/arch-sunxi
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
..
clock.h ARM: sun6i: Add clock support 2014-10-24 09:35:37 +02:00
clock_sun4i.h sunxi: add defines to control USB Host clocks/resets 2014-07-31 15:37:22 +02:00
clock_sun6i.h ARM: sun6i: Add clock support 2014-10-24 09:35:37 +02:00
cpu.h ARM: sun6i: Add base address for the new controllers in A31 2014-10-24 09:35:37 +02:00
dram.h sunxi: dram: Configurable DQS gating window mode and delay 2014-08-12 08:42:33 +02:00
gpio.h ARM: sun6i: Define UART0 pins for A31 2014-10-24 09:35:38 +02:00
i2c.h sunxi: Add i2c support 2014-07-18 19:41:30 +01:00
mmc.h sunxi: When we've both mmc0 and mmc2, detect from which one we're booting 2014-10-24 09:35:38 +02:00
prcm.h ARM: sun6i: Add support for the power reset control module found on the A31 2014-10-24 09:35:37 +02:00
spl.h arm: spl: fix include guard 2014-07-05 09:28:21 +02:00
sys_proto.h sunxi: add sun7i clocks and timer support. 2014-05-25 16:12:12 +02:00
timer.h sunxi: Implement reset_cpu 2014-07-06 20:12:44 +01:00