]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: a3720: Add NVMe to BOOT_TARGET_DEVICES list
authorPali Rohár <pali@kernel.org>
Mon, 23 May 2022 09:14:36 +0000 (11:14 +0200)
committerStefan Roese <sr@denx.de>
Thu, 21 Jul 2022 08:14:04 +0000 (10:14 +0200)
Enable NVMe booting on boards which have enabled NVMe drivers.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
include/configs/mvebu_armada-37xx.h

index 58c7606288d6208b8e6414556e957e0678be5237..6d3cb99b2dfec0395455acddf68dd9dd269eaaf9 100644 (file)
 #define BOOT_TARGET_DEVICES_SCSI(func)
 #endif
 
+#ifdef CONFIG_NVME
+#define BOOT_TARGET_DEVICES_NVME(func) func(NVME, nvme, 0)
+#else
+#define BOOT_TARGET_DEVICES_NVME(func)
+#endif
+
 #if defined(CONFIG_CMD_DHCP) && defined(CONFIG_CMD_PXE)
 #define BOOT_TARGET_DEVICES_PXE(func) func(PXE, pxe, na)
 #else
@@ -66,6 +72,7 @@
        BOOT_TARGET_DEVICES_MMC(func, 1) \
        BOOT_TARGET_DEVICES_MMC(func, 0) \
        BOOT_TARGET_DEVICES_USB(func) \
+       BOOT_TARGET_DEVICES_NVME(func) \
        BOOT_TARGET_DEVICES_SCSI(func) \
        BOOT_TARGET_DEVICES_PXE(func) \
        BOOT_TARGET_DEVICES_DHCP(func)