]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_FSL_PMIC_MODE to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:02 +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_MODE to CFG_FSL_PMIC_MODE

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

index 9ead212f380e9d9737d8291c1b979e079ce78f69..9dc930fb305aecb0302408447349f34b52f854cd 100644 (file)
@@ -41,7 +41,7 @@ int pmic_init(unsigned char bus)
        p->interface = PMIC_SPI;
        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.mode = CFG_FSL_PMIC_MODE;
        p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN;
        p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END;
        p->hw.spi.prepare_tx = pmic_spi_prepare_tx;
index 15bc4c706fdd9acdde09fd2b62305d44d61cba5a..740e357e00e980eb97c94dcdb7bbc5621a924f9c 100644 (file)
@@ -24,7 +24,7 @@
 #define CFG_FSL_PMIC_BUS       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_MODE      (SPI_MODE_0 | SPI_CS_HIGH)
 #define CFG_FSL_PMIC_BITLEN    32
 
 /*