]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_FSL_PMIC_CS to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:01 +0000 (10:04 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:09:43 +0000 (10:09 -0500)
Perform a simple rename of CONFIG_FSL_PMIC_CS to CFG_FSL_PMIC_CS

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/power/power_fsl.c
include/configs/mx51evk.h

index a576d1570b112191b4adf51d4b6cba596b6163e4..9ead212f380e9d9737d8291c1b979e079ce78f69 100644 (file)
@@ -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;
index ee0782ebfebfca83f83a97f8dc0be3aed823b947..15bc4c706fdd9acdde09fd2b62305d44d61cba5a 100644 (file)
@@ -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