mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Correct SPL uses of CMD_MMC
This converts 6 usages of this option to the non-SPL form, since there is no SPL_CMD_MMC defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -71,12 +71,12 @@
|
||||
#define BOOTENV_DEV_NAME_TI_MMC(devtyeu, devtypel, instance) \
|
||||
"ti_mmc "
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_MMC)
|
||||
#if IS_ENABLED(CONFIG_CMD_MMC)
|
||||
#define BOOT_TARGET_MMC(func) \
|
||||
func(TI_MMC, ti_mmc, na)
|
||||
#else
|
||||
#define BOOT_TARGET_MMC(func)
|
||||
#endif /* CONFIG_IS_ENABLED(CMD_MMC) */
|
||||
#endif /* IS_ENABLED(CONFIG_CMD_MMC) */
|
||||
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
BOOT_TARGET_MMC(func)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
EFI_GUID(0x0bf1165c, 0x1831, 0x4864, 0x94, 0x5e, \
|
||||
0xac, 0x3d, 0x38, 0x48, 0xf4, 0x99)
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_MMC)
|
||||
#if IS_ENABLED(CONFIG_CMD_MMC)
|
||||
# define BOOT_TARGET_MMC(func) \
|
||||
func(MMC, mmc, 2) \
|
||||
func(MMC, mmc, 0)
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_MMC)
|
||||
#if IS_ENABLED(CONFIG_CMD_MMC)
|
||||
# define BOOT_TARGET_MMC(func) \
|
||||
func(MMC, mmc, 2) \
|
||||
func(MMC, mmc, 1)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
|
||||
/* First try to boot from SD (index 1), then eMMC (index 0) */
|
||||
#if CONFIG_IS_ENABLED(CMD_MMC)
|
||||
#if IS_ENABLED(CONFIG_CMD_MMC)
|
||||
#define BOOT_TARGET_MMC(func) \
|
||||
func(MMC, mmc, 1) \
|
||||
func(MMC, mmc, 0)
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
"fdt_addr_r=0x02600000\0" \
|
||||
"ramdisk_addr_r=0x02700000\0"
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_MMC)
|
||||
#if IS_ENABLED(CONFIG_CMD_MMC)
|
||||
#define BOOT_TARGET_MMC(func) \
|
||||
func(MMC, mmc, 0) \
|
||||
func(MMC, mmc, 1) \
|
||||
|
||||
Reference in New Issue
Block a user