]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: sifive: unmatched: enable booting on a second NVME device
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 7 Jan 2023 22:32:39 +0000 (23:32 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 1 Feb 2023 08:17:59 +0000 (16:17 +0800)
The HiFive Unmatched board has a M2 slot for NVME and a PCIe slot that
can also be used for NVME. Enable support for a second NVME device, so
that software RAID-1 configurations can be supported at the u-boot
level.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/configs/sifive-unmatched.h

index 24904aa238718d9561c92aca4be43c8e09f8709a..74150b7d4b064d0801f76b0285752ae1ff37c8ac 100644 (file)
@@ -17,6 +17,7 @@
 
 #define BOOT_TARGET_DEVICES(func) \
        func(NVME, nvme, 0) \
+       func(NVME, nvme, 1) \
        func(USB, usb, 0) \
        func(MMC, mmc, 0) \
        func(SCSI, scsi, 0) \