mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
configs: apple: Add NVMe boot target
Add a boot target for NVMe such that we can boot from NVMe. Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
This commit is contained in:
parent
50333c94f2
commit
dbb273a5b6
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,12 @@
|
||||||
"fdt_addr_r=0x960100000\0" \
|
"fdt_addr_r=0x960100000\0" \
|
||||||
"kernel_addr_r=0x960200000\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)
|
#if CONFIG_IS_ENABLED(CMD_USB)
|
||||||
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
||||||
#else
|
#else
|
||||||
|
@ -20,6 +26,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOOT_TARGET_DEVICES(func) \
|
#define BOOT_TARGET_DEVICES(func) \
|
||||||
|
BOOT_TARGET_NVME(func) \
|
||||||
BOOT_TARGET_USB(func)
|
BOOT_TARGET_USB(func)
|
||||||
|
|
||||||
#include <config_distro_bootcmd.h>
|
#include <config_distro_bootcmd.h>
|
||||||
|
|
Loading…
Reference in a new issue