aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2023-09-18 10:32:29 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2023-09-20 21:04:21 +0800
commit98d17450cd4b008310351616e8a1897544713ffe (patch)
tree489ecb86a6cd5b1b479b8091b8a76b5540d4d5f5 /include/configs
parentad4b1bc39eef93e13f2c7098339cdc98bafe9390 (diff)
downloadu-boot-98d17450cd4b008310351616e8a1897544713ffe.zip
u-boot-98d17450cd4b008310351616e8a1897544713ffe.tar.gz
u-boot-98d17450cd4b008310351616e8a1897544713ffe.tar.bz2
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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/starfive-visionfive2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/starfive-visionfive2.h b/include/configs/starfive-visionfive2.h
index 6fa7f16..ff43113 100644
--- a/include/configs/starfive-visionfive2.h
+++ b/include/configs/starfive-visionfive2.h
@@ -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)