From: Tom Rini <trini@konsulko.com>
Date: Sun, 4 Dec 2022 15:04:01 +0000 (-0500)
Subject: global: Migrate CONFIG_FSL_PMIC_CS to CFG
X-Git-Tag: v2025.01-rc5-pxa1908~1158^2~5^2~102
X-Git-Url: http://git.dujemihanovic.xyz/projects?a=commitdiff_plain;h=f200d710d83a78e6309d88c365fc33cd322015df;p=u-boot.git

global: Migrate CONFIG_FSL_PMIC_CS to CFG

Perform a simple rename of CONFIG_FSL_PMIC_CS to CFG_FSL_PMIC_CS

Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c
index a576d1570b..9ead212f38 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 ee0782ebfe..15bc4c706f 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