45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
From 191b5f4e0408e40f35379fdaab6b37a7ad93e298 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <191b5f4e0408e40f35379fdaab6b37a7ad93e298.1668448794.git.stefan@agner.ch>
|
|
In-Reply-To: <135d886b4e5077c8fa96a5449a70d81ae9c1c3d0.1668448794.git.stefan@agner.ch>
|
|
References: <135d886b4e5077c8fa96a5449a70d81ae9c1c3d0.1668448794.git.stefan@agner.ch>
|
|
From: Stefan Agner <stefan@agner.ch>
|
|
Date: Tue, 29 Dec 2020 23:34:52 +0100
|
|
Subject: [PATCH] rpi: add NVMe to boot order
|
|
|
|
The Compute Module 4 I/O Board can support a NVMe. Add NVMe to the boot
|
|
order.
|
|
|
|
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
---
|
|
include/configs/rpi.h | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
|
|
index cd8fe8b518..7257659932 100644
|
|
--- a/include/configs/rpi.h
|
|
+++ b/include/configs/rpi.h
|
|
@@ -131,6 +131,12 @@
|
|
#define BOOT_TARGET_MMC(func)
|
|
#endif
|
|
|
|
+#if CONFIG_IS_ENABLED(CMD_NVME)
|
|
+ #define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
|
|
+#else
|
|
+ #define BOOT_TARGET_NVME(func)
|
|
+#endif
|
|
+
|
|
#if CONFIG_IS_ENABLED(CMD_USB)
|
|
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
|
#else
|
|
@@ -151,6 +157,7 @@
|
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
BOOT_TARGET_MMC(func) \
|
|
+ BOOT_TARGET_NVME(func) \
|
|
BOOT_TARGET_USB(func) \
|
|
BOOT_TARGET_PXE(func) \
|
|
BOOT_TARGET_DHCP(func)
|
|
--
|
|
2.38.1
|
|
|