]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL uses of CMD_MMC
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:34 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
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>
include/configs/am62ax_evm.h
include/configs/imx8mm-cl-iot-gate.h
include/configs/imx8mp_rsb3720.h
include/configs/rockchip-common.h
include/configs/rpi.h

index cdd639b930967bee5bd4665b113b60cdb9109c6e..a18b1572b13bccf0eab9430c19a0fc4ce2203a6f 100644 (file)
 #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)
index 2641d7bc960b7edb75bcb8d533ae254b69be6d30..1bb9a918e7d0c49c4599aac403e865bb466e58e4 100644 (file)
@@ -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)
index d4ab6a6207d6058bdfd5260c74c4010f853dbbda..e577f60ae72337cb68eca2942e7340f5374feedc 100644 (file)
@@ -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)
index 0b23e4c043337e46c8f5be3137031e16409f2edb..ae8c2d7718cfef2b3b8e11d082f1527ea45dbdd6 100644 (file)
@@ -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)
index c3f8e7bf85cd6bdf28a6353de77497ca53ec5f33..7c306cb5680c4c12e5aee5af8768b07a9b3067c3 100644 (file)
        "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) \