]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_FSL_PMIC_BUS to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:03:59 +0000 (10:03 -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_BUS to CFG_FSL_PMIC_BUS

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

index 86364acf8ca018aaacb38bc357cffe37aaa52fe9..95edb35994435892d4ff99c91f19ddd0a20d9b82 100644 (file)
@@ -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;
 
index d4cca8d516a68ac40b7a06861a925a8a46668ea2..1aaa76240deb6e105aa4b9a58b9a300da41e7cf3 100644 (file)
@@ -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)