starfive: visionfive2: add mmc0 and nvme boot targets

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>
This commit is contained in:
Milan P. Stanić 2023-09-18 10:32:29 +02:00 committed by Leo Yu-Chi Liang
parent ad4b1bc39e
commit 98d17450cd

View 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)