[PoC 042/241] global: Migrate CONFIG_FSL_PMIC_CS to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 14:30:33 CET 2022
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/power/power_fsl.c | 2 +-
include/configs/mx51evk.h | 2 +-
scripts/config_whitelist.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c
index a576d1570b11..9ead212f380e 100644
--- a/drivers/power/power_fsl.c
+++ b/drivers/power/power_fsl.c
@@ -39,7 +39,7 @@ int pmic_init(unsigned char bus)
#if defined(CONFIG_POWER_SPI)
p->interface = PMIC_SPI;
- p->hw.spi.cs = CONFIG_FSL_PMIC_CS;
+ p->hw.spi.cs = CFG_FSL_PMIC_CS;
p->hw.spi.clk = CFG_FSL_PMIC_CLK;
p->hw.spi.mode = CONFIG_FSL_PMIC_MODE;
p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN;
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index ee0782ebfebf..15bc4c706fdd 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -22,7 +22,7 @@
/* PMIC Controller */
#define CFG_FSL_PMIC_BUS 0
-#define CONFIG_FSL_PMIC_CS 0
+#define CFG_FSL_PMIC_CS 0
#define CFG_FSL_PMIC_CLK 2500000
#define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH)
#define CFG_FSL_PMIC_BITLEN 32
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index d006554e3d2b..a6598b01bb61 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -42,7 +42,7 @@ CFG_FSL_ISBC_KEY_EXT
CFG_FSL_PMIC_BITLEN
CFG_FSL_PMIC_BUS
CFG_FSL_PMIC_CLK
-CONFIG_FSL_PMIC_CS
+CFG_FSL_PMIC_CS
CONFIG_FSL_PMIC_MODE
CONFIG_FSL_SDHC_V2_3
CONFIG_FSL_SERDES1
--
2.25.1
More information about the U-Boot
mailing list