mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 06:33:45 +09:00
![Hans de Goede](/assets/img/avatar_default.png)
Enable the second sdcard slot found on some boards. Note that we do not set CONFIG_MMC_SUNXI_SLOT_EXTRA for the SPL, as having it there is not useful, Except for on the Mele-M3 where the second sdcard is an eMMC, from which the device can also boot, and there we want to have both in the SPL, so that a single u-boot binary can both from both. So for the M3 we do prefix the defconfig setting with the special "+S:" syntax so that it applies to the SPL too. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
9 lines
301 B
Plaintext
9 lines
301 B
Plaintext
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="A10S_OLINUXINO_M,AXP152_POWER,SUNXI_EMAC,USB_EHCI,SUNXI_USB_VBUS0_GPIO=SUNXI_GPB(10)"
|
|
CONFIG_FDTFILE="sun5i-a10s-olinuxino-micro.dtb"
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=1
|
|
+S:CONFIG_MMC0_CD_PIN="PG1"
|
|
+S:CONFIG_MMC1_CD_PIN="PG13"
|
|
+S:CONFIG_ARM=y
|
|
+S:CONFIG_TARGET_SUN5I=y
|