mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
Correct SPL uses of CMD_USB
This converts 8 usages of this option to the non-SPL form, since there is no SPL_CMD_USB defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b15a4af810
commit
93bb62abaf
7 changed files with 7 additions and 7 deletions
|
@ -47,7 +47,7 @@
|
|||
#define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
|
||||
#devtypel #instance " "
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_USB)
|
||||
#if IS_ENABLED(CONFIG_CMD_USB)
|
||||
# define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
||||
#else
|
||||
# define BOOT_TARGET_USB(func)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#define BOOT_TARGET_NVME(func)
|
||||
#endif
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_USB)
|
||||
#if IS_ENABLED(CONFIG_CMD_USB)
|
||||
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
||||
#else
|
||||
#define BOOT_TARGET_USB(func)
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
# define BOOT_TARGET_MMC(func)
|
||||
#endif
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_USB)
|
||||
#if IS_ENABLED(CONFIG_CMD_USB)
|
||||
# define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
||||
#else
|
||||
# define BOOT_TARGET_USB(func)
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#define EXTRA_ENV_IOT2050_BOARD_SETTINGS \
|
||||
"usb_pgood_delay=900\0"
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_USB)
|
||||
#if IS_ENABLED(CONFIG_CMD_USB)
|
||||
# define BOOT_TARGET_USB(func) \
|
||||
func(USB, usb, 0) \
|
||||
func(USB, usb, 1) \
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#define BOOT_TARGET_SCSI(func)
|
||||
#endif
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_USB)
|
||||
#if IS_ENABLED(CONFIG_CMD_USB)
|
||||
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
||||
#else
|
||||
#define BOOT_TARGET_USB(func)
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
#define BOOT_TARGET_MMC(func)
|
||||
#endif
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_USB)
|
||||
#if IS_ENABLED(CONFIG_CMD_USB)
|
||||
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
||||
#else
|
||||
#define BOOT_TARGET_USB(func)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef __TEGRA_COMMON_POST_H
|
||||
#define __TEGRA_COMMON_POST_H
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_USB)
|
||||
#if IS_ENABLED(CONFIG_CMD_USB)
|
||||
# define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
||||
#else
|
||||
# define BOOT_TARGET_USB(func)
|
||||
|
|
Loading…
Reference in a new issue