45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
From ae45864457182fcaa67911e1e3d8db242dff3646 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <ae45864457182fcaa67911e1e3d8db242dff3646.1654086219.git.stefan@agner.ch>
|
|
In-Reply-To: <24b77460dbfa2497ceb7a1611bf28b6eb88a1d74.1654086219.git.stefan@agner.ch>
|
|
References: <24b77460dbfa2497ceb7a1611bf28b6eb88a1d74.1654086219.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 4c5c1ac31f..e24c94c7d2 100644
|
|
--- a/include/configs/rpi.h
|
|
+++ b/include/configs/rpi.h
|
|
@@ -143,6 +143,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
|
|
@@ -163,6 +169,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.36.1
|
|
|