aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2021-02-26 15:17:36 +0100
committerTom Rini <trini@konsulko.com>2021-04-20 07:30:04 -0400
commit2dbe777753927176580dd4121b826241283009cb (patch)
treea3f9c037f91e546723936675551e0f8fdea414b6
parent8f4f65ed6a82b7020f953c17b33c973817e9eabe (diff)
downloadu-boot-2dbe777753927176580dd4121b826241283009cb.zip
u-boot-2dbe777753927176580dd4121b826241283009cb.tar.gz
u-boot-2dbe777753927176580dd4121b826241283009cb.tar.bz2
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 7e97f89..17ebccd 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