[PoC 040/241] global: Migrate CONFIG_FSL_PMIC_BUS to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 14:30:31 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 board/freescale/mx51evk/mx51evk.c | 2 +-
 include/configs/mx51evk.h         | 2 +-
 scripts/config_whitelist.txt      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c
index 86364acf8ca0..95edb3599443 100644
--- a/board/freescale/mx51evk/mx51evk.c
+++ b/board/freescale/mx51evk/mx51evk.c
@@ -86,7 +86,7 @@ static void power_init(void)
 	struct pmic *p;
 	int ret;
 
-	ret = pmic_init(CONFIG_FSL_PMIC_BUS);
+	ret = pmic_init(CFG_FSL_PMIC_BUS);
 	if (ret)
 		return;
 
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index d4cca8d516a6..1aaa76240deb 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -21,7 +21,7 @@
 #define CONFIG_MXC_UART_BASE	UART1_BASE
 
 /* PMIC Controller */
-#define CONFIG_FSL_PMIC_BUS	0
+#define CFG_FSL_PMIC_BUS	0
 #define CONFIG_FSL_PMIC_CS	0
 #define CONFIG_FSL_PMIC_CLK	2500000
 #define CONFIG_FSL_PMIC_MODE	(SPI_MODE_0 | SPI_CS_HIGH)
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index b5f3eb1236a1..3b9ec9d59f61 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -40,7 +40,7 @@ CFG_FSL_ESDHC_PIN_MUX
 CFG_FSL_FM_10GEC_REGULAR_NOTATION
 CFG_FSL_ISBC_KEY_EXT
 CFG_FSL_PMIC_BITLEN
-CONFIG_FSL_PMIC_BUS
+CFG_FSL_PMIC_BUS
 CONFIG_FSL_PMIC_CLK
 CONFIG_FSL_PMIC_CS
 CONFIG_FSL_PMIC_MODE
-- 
2.25.1



More information about the U-Boot mailing list