]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
starfive: visionfive2: add mmc0 and nvme boot targets
authorMilan P. Stanić <mps@arvanta.net>
Mon, 18 Sep 2023 08:32:29 +0000 (10:32 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 20 Sep 2023 13:04:21 +0000 (21:04 +0800)
boot from SDIO3.0 (mmc sdcard) first if it is plugged.
If mmc is not plugged try to boot from emmc if it is plugged.
If emmc is not plugged then try to boot from nvme.

Signed-off-by: Milan P. Stanić <mps@arvanta.net>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
include/configs/starfive-visionfive2.h

index 6fa7f16ddc19145c524fa1c5f044651b6ead0d64..ff43113f2439e8684799331c566949c1ceff24f9 100644 (file)
@@ -20,6 +20,7 @@
 #define BOOT_TARGET_DEVICES(func) \
        func(NVME, nvme, 0) \
        func(USB, usb, 0) \
+       func(MMC, mmc, 0) \
        func(MMC, mmc, 1) \
        func(DHCP, dhcp, na)