mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
rk3399: Enable NVMe distro bootcmd
Include NVME in the list of boot targets if CONFIG_NVME is enabled. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
committed by
Kever Yang
parent
dbc5e28604
commit
2e01e8f17f
@@ -23,6 +23,12 @@
|
|||||||
#define BOOT_TARGET_MMC(func)
|
#define BOOT_TARGET_MMC(func)
|
||||||
#endif
|
#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)
|
#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
|
||||||
@@ -50,6 +56,7 @@
|
|||||||
#ifdef CONFIG_ROCKCHIP_RK3399
|
#ifdef CONFIG_ROCKCHIP_RK3399
|
||||||
#define BOOT_TARGET_DEVICES(func) \
|
#define BOOT_TARGET_DEVICES(func) \
|
||||||
BOOT_TARGET_MMC(func) \
|
BOOT_TARGET_MMC(func) \
|
||||||
|
BOOT_TARGET_NVME(func) \
|
||||||
BOOT_TARGET_USB(func) \
|
BOOT_TARGET_USB(func) \
|
||||||
BOOT_TARGET_PXE(func) \
|
BOOT_TARGET_PXE(func) \
|
||||||
BOOT_TARGET_DHCP(func) \
|
BOOT_TARGET_DHCP(func) \
|
||||||
|
Reference in New Issue
Block a user