summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2021-02-26 15:17:36 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2021-04-19 16:59:33 +0200
commit83752094d17a8a561d7a2a39879f9d7f49487e83 (patch)
tree881e5e22a6cc6f2899722ecded2dfc91ad1692bd
parentea001950af081ea5cf43378f67fdc6d594b5eb80 (diff)
downloadu-boot-83752094d17a8a561d7a2a39879f9d7f49487e83.tar.gz
configs: meson64: add NVME boot target
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>
-rw-r--r--include/configs/meson64.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/meson64.h b/include/configs/meson64.h
index 7e97f89052..17ebccd2c4 100644
--- a/include/configs/meson64.h
+++ b/include/configs/meson64.h
@@ -58,6 +58,12 @@
#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) \
@@ -65,6 +71,7 @@
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