summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2022-07-15 17:15:51 +0200
committerKever Yang <[email protected]>2022-09-04 20:00:38 +0800
commit72ebe8b8cb4ce2a1edcdfd36aa186bb78b08b06e (patch)
tree53e654837e43874c5c2ca0cc2782977582583a6a /include/linux/mtd
parent74f7025ea67ee4165405e51dfb032d4fd050e345 (diff)
rockchip: rk3399: fix incorrect boot-device in u-boot, spl-boot-device
On RK3399, mmc0 is eMMC and mmc1 is SD card, c.f. console: MMC: mmc@fe320000: 1, mmc@fe330000: 0 In arch/arm/mach-rockchip/spl-boot-order.c:board_boot_order, the boot_device (BOOT_DEVICE_*) value is gotten from spl_node_to_boot_device function. Said function returns BOOT_DEVICE_MMC1 for mmc0 (eMMC) and BOOT_DEVICE_MMC2 for mmc1 (SD card). Since the SD card controller is at mmc@fe320000, it should be associated with BOOT_DEVICE_MMC2 and not BOOT_DEVICE_MMC1. Same applies to eMMC. Let's fix that by swapping the two BOOT_DEVICEs. Cc: Quentin Schulz <[email protected]> Signed-off-by: Quentin Schulz <[email protected]> Tested-by: Xavier Drudis Ferran <[email protected]>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions