[PoC 120/241] global: Migrate CONFIG_MMC_DEFAULT_DEV to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 15:07:10 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/configs/exynos4-common.h | 2 +-
 include/configs/s5p_goni.h       | 2 +-
 include/configs/trats2.h         | 2 +-
 scripts/config_whitelist.txt     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h
index 63e26687dbce..6a48fe9103ff 100644
--- a/include/configs/exynos4-common.h
+++ b/include/configs/exynos4-common.h
@@ -11,7 +11,7 @@
 #include "exynos-common.h"
 
 /* SD/MMC configuration */
-#define CONFIG_MMC_DEFAULT_DEV	0
+#define CFG_MMC_DEFAULT_DEV	0
 
 #define DFU_DEFAULT_POLL_TIMEOUT 300
 
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index 1e211eccee7b..85e24caa5107 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -120,7 +120,7 @@
 #define PHYS_SDRAM_3_SIZE	(128 << 20)		/* 128 MB in Bank #2 */
 
 /* FLASH and environment organization */
-#define CONFIG_MMC_DEFAULT_DEV	0
+#define CFG_MMC_DEFAULT_DEV	0
 
 #define CFG_SYS_ONENAND_BASE		0xB0000000
 
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 21372243bbc8..d5f17e3b7802 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -81,7 +81,7 @@
 		"${kernelname}\0" \
 	"loaddtb=ext4load mmc ${mmcdev}:${mmcbootpart} ${fdtaddr} " \
 		"${fdtfile}\0" \
-	"mmcdev=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \
+	"mmcdev=" __stringify(CFG_MMC_DEFAULT_DEV) "\0" \
 	"mmcbootpart=2\0" \
 	"mmcrootpart=5\0" \
 	"opts=always_resume=1\0" \
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index b2686806c5c4..a31178b8b6e7 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -128,7 +128,7 @@ CFG_MFG_ENV_SETTINGS
 CFG_MII_DEFAULT_TSEC
 CFG_MIU_2BIT_21_7_INTERLEAVED
 CFG_MIU_2BIT_INTERLEAVED
-CONFIG_MMC_DEFAULT_DEV
+CFG_MMC_DEFAULT_DEV
 CONFIG_MMC_SUNXI_SLOT
 CONFIG_MONITOR_IS_IN_RAM
 CONFIG_MTD_NAND_VERIFY_WRITE
-- 
2.25.1



More information about the U-Boot mailing list