projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50333c9
)
configs: apple: Add NVMe boot target
author
Mark Kettenis
<kettenis@openbsd.org>
Sat, 22 Jan 2022 19:38:19 +0000
(20:38 +0100)
committer
Tom Rini
<trini@konsulko.com>
Thu, 10 Feb 2022 21:44:23 +0000
(16:44 -0500)
Add a boot target for NVMe such that we can boot from NVMe.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
include/configs/apple.h
patch
|
blob
|
history
diff --git
a/include/configs/apple.h
b/include/configs/apple.h
index
3e5fb49
..
47faad8
100644
(file)
--- a/
include/configs/apple.h
+++ b/
include/configs/apple.h
@@
-13,6
+13,12
@@
"fdt_addr_r=0x960100000\0" \
"kernel_addr_r=0x960200000\0"
+#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
@@
-20,6
+26,7
@@
#endif
#define BOOT_TARGET_DEVICES(func) \
+ BOOT_TARGET_NVME(func) \
BOOT_TARGET_USB(func)
#include <config_distro_bootcmd.h>