From 0256787066051ca7d7a64ca3cf283c48d973afce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Mon, 23 May 2022 11:14:36 +0200 Subject: [PATCH] arm: mvebu: a3720: Add NVMe to BOOT_TARGET_DEVICES list MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Enable NVMe booting on boards which have enabled NVMe drivers. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese --- include/configs/mvebu_armada-37xx.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index 58c7606288..6d3cb99b2d 100644 --- a/include/configs/mvebu_armada-37xx.h +++ b/include/configs/mvebu_armada-37xx.h @@ -50,6 +50,12 @@ #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) -- 2.39.5