diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-09-07 15:53:36 +0200 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-09-20 20:54:48 +0800 |
commit | ad4b1bc39eef93e13f2c7098339cdc98bafe9390 (patch) | |
tree | 721fec5a389195c5e22e8fc5d839a169ee25cbaf | |
parent | c5172c10f669f935d71d5bdb4d7296eeffc717d0 (diff) | |
download | u-boot-ad4b1bc39eef93e13f2c7098339cdc98bafe9390.zip u-boot-ad4b1bc39eef93e13f2c7098339cdc98bafe9390.tar.gz u-boot-ad4b1bc39eef93e13f2c7098339cdc98bafe9390.tar.bz2 |
configs: NVMe/USB target boot devices on VisionFive 2
Make NVMe and USB target boot devices on the StarFive VisionFive 2 board.
The boot devices are sorted by decreasing device speed.
CONFIG_PCI_INIT_R=y is set via [1]. 'start usb' is added to CONFIG_PREBOOT
by the same patch.
[1] [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2
https://lore.kernel.org/u-boot/TY3P286MB2611C9AD6E5BB3756A959E89981FA@TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM/
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r-- | include/configs/starfive-visionfive2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/starfive-visionfive2.h b/include/configs/starfive-visionfive2.h index 4ee02b8..6fa7f16 100644 --- a/include/configs/starfive-visionfive2.h +++ b/include/configs/starfive-visionfive2.h @@ -18,6 +18,8 @@ /* Environment options */ #define BOOT_TARGET_DEVICES(func) \ + func(NVME, nvme, 0) \ + func(USB, usb, 0) \ func(MMC, mmc, 1) \ func(DHCP, dhcp, na) |