diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-08 21:20:09 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-04 18:42:41 +0300 |
commit | 103c5f180694024519a4af606497b8f1ee9903c0 (patch) | |
tree | 62bb65db816d123cc82aa343e05938fad5135b2a /arch/arm/mach-zynqmp | |
parent | a48f5ff4f523a59cdf025a4cbafd0cb3a932809f (diff) | |
download | u-boot-103c5f180694024519a4af606497b8f1ee9903c0.tar.xz |
mmc: Rename MMC_SUPPORT to MMC
Rename these options so that CONFIG_IS_ENABLED can be used with them.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
[trini: Fixup some incorrect renames]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-zynqmp')
-rw-r--r-- | arch/arm/mach-zynqmp/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-zynqmp/spl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-zynqmp/Kconfig b/arch/arm/mach-zynqmp/Kconfig index 39144d654e..80c85609d7 100644 --- a/arch/arm/mach-zynqmp/Kconfig +++ b/arch/arm/mach-zynqmp/Kconfig @@ -12,7 +12,7 @@ config SPL_LIBDISK_SUPPORT config SPL_LIBGENERIC_SUPPORT default y -config SPL_MMC_SUPPORT +config SPL_MMC default y if MMC_SDHCI_ZYNQ config SPL_SERIAL_SUPPORT diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index 8fcae2c6a6..d2a4d89cba 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -88,7 +88,7 @@ u32 spl_boot_device(void) switch (bootmode) { case JTAG_MODE: return BOOT_DEVICE_RAM; -#ifdef CONFIG_SPL_MMC_SUPPORT +#ifdef CONFIG_SPL_MMC case SD_MODE1: case SD1_LSHFT_MODE: /* not working on silicon v1 */ return BOOT_DEVICE_MMC2; |