Let's add a boot target for NVMe so we can do a full boot over NVMe.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
#define BOOT_TARGET_DEVICES_USB(func)
#endif
+#ifdef CONFIG_CMD_NVME
+ #define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
+#else
+ #define BOOT_TARGET_NVME(func)
+#endif
+
#ifndef BOOT_TARGET_DEVICES
#define BOOT_TARGET_DEVICES(func) \
func(ROMUSB, romusb, na) \
func(MMC, mmc, 1) \
func(MMC, mmc, 2) \
BOOT_TARGET_DEVICES_USB(func) \
+ BOOT_TARGET_NVME(func) \
func(PXE, pxe, na) \
func(DHCP, dhcp, na)
#endif