mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-08 07:50:16 +00:00
rockchip: Enable SCSI in distro bootcmd for rk3399.
Include SCSI in the list of boot targets if CONFIG_CMD_SCSI is enabled. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
0abb5b0426
commit
48cd7a1f6c
@ -29,6 +29,12 @@
|
|||||||
#define BOOT_TARGET_NVME(func)
|
#define BOOT_TARGET_NVME(func)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_IS_ENABLED(CMD_SCSI)
|
||||||
|
#define BOOT_TARGET_SCSI(func) func(SCSI, scsi, 0)
|
||||||
|
#else
|
||||||
|
#define BOOT_TARGET_SCSI(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
|
||||||
@ -57,6 +63,7 @@
|
|||||||
#define BOOT_TARGET_DEVICES(func) \
|
#define BOOT_TARGET_DEVICES(func) \
|
||||||
BOOT_TARGET_MMC(func) \
|
BOOT_TARGET_MMC(func) \
|
||||||
BOOT_TARGET_NVME(func) \
|
BOOT_TARGET_NVME(func) \
|
||||||
|
BOOT_TARGET_SCSI(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) \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user