board: kontron: sl28: reorder mmc devices

Since linux commit 2e6cde96873253fd9eb0f20afd8ffd18278cff75 ("arm64:
dts: ls1028a: make the eMMC and SD card controllers use fixed indices")
mmc0 is the eMMC and mmc1 is the SD card. Also swap it in u-boot to
avoid any confusion by the user and to be aligned with linux.

Signed-off-by: Michael Walle <michael@walle.cc>
This commit is contained in:
Michael Walle 2020-12-20 22:35:13 +01:00 committed by Tom Rini
parent 46a4d75203
commit e668bec96a
2 changed files with 3 additions and 3 deletions

View file

@ -4,8 +4,8 @@
/ { / {
aliases { aliases {
mmc0 = &esdhc0; mmc0 = &esdhc1;
mmc1 = &esdhc1; mmc1 = &esdhc0;
i2c0 = &i2c0; i2c0 = &i2c0;
i2c1 = &i2c3; i2c1 = &i2c3;
i2c2 = &i2c4; i2c2 = &i2c4;

View file

@ -89,8 +89,8 @@
"ramdisk_addr_r=0x88080000\0" "ramdisk_addr_r=0x88080000\0"
#define BOOT_TARGET_DEVICES(func) \ #define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 1) \
func(MMC, mmc, 0) \ func(MMC, mmc, 0) \
func(MMC, mmc, 1) \
func(NVME, nvme, 0) \ func(NVME, nvme, 0) \
func(USB, usb, 0) \ func(USB, usb, 0) \
func(DHCP, dhcp, 0) \ func(DHCP, dhcp, 0) \