board: kontron: sl28: reorder mmc devices
PATCH 1/1 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.
---
Hi Tom,
u-boot 2021.01 will be the first version which supports the sl28 board. It would be nice if this patch still make it into the relase, so it will be consistent starting with the first u-boot version which supports the board.
arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi | 4 ++-- include/configs/kontron_sl28.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi +2 -2
@@ -4,8 +4,8 @@ / { aliases { - mmc0 = &esdhc0; - mmc1 = &esdhc1; + mmc0 = &esdhc1; + mmc1 = &esdhc0; i2c0 = &i2c0; i2c1 = &i2c3; i2c2 = &i2c4;
include/configs/kontron_sl28.h +1 -1
@@ -89,8 +89,8 @@ "ramdisk_addr_r=0x88080000\0"#define BOOT_TARGET_DEVICES (func) \ - func(MMC, mmc, 1) \ func(MMC, mmc, 0) \ + func(MMC, mmc, 1) \ func(NVME, nvme, 0) \ func(USB, usb, 0) \ func(DHCP, dhcp, 0) \
Signature · 1 line
2.20.1
PATCH 1/1 board: kontron: sl28: reorder mmc devices
Quoted 5 lines · Michael Walle
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.
Quoted 7 lines
Signed-off-by Michael Walle <[email protected]>---
Hi Tom,u-boot 2021.01 will be the first version which supports the sl28 board. It would be nice if this patch still make it into the relase, so it will be consistent starting with the first u-boot version which supports the board.
OK, thanks, I'll grab this right now then.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201220/b25ddac1/attachment.sig>
PATCH 1/1 board: kontron: sl28: reorder mmc devices
In reply to Michael WalleQuoted 6 lines · Michael Walle
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 <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201220/3b53e7b4/attachment.sig>