]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_FSL_PMIC_BITLEN to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:03:58 +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_BITLEN to CFG_FSL_PMIC_BITLEN

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

index 9bb7e39f2cc2d916e4d40a1db2d88b00407dbbcc..eace4dd7e433f2cc32d4278659a6ed486abc7d3f 100644 (file)
@@ -42,7 +42,7 @@ int pmic_init(unsigned char bus)
        p->hw.spi.cs = CONFIG_FSL_PMIC_CS;
        p->hw.spi.clk = CONFIG_FSL_PMIC_CLK;
        p->hw.spi.mode = CONFIG_FSL_PMIC_MODE;
-       p->hw.spi.bitlen = CONFIG_FSL_PMIC_BITLEN;
+       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;
 #elif defined(CONFIG_POWER_I2C)
index 8ab1ee79a79c18f651d66a4221b193963a0a23a2..d4cca8d516a68ac40b7a06861a925a8a46668ea2 100644 (file)
@@ -25,7 +25,7 @@
 #define CONFIG_FSL_PMIC_CS     0
 #define CONFIG_FSL_PMIC_CLK    2500000
 #define CONFIG_FSL_PMIC_MODE   (SPI_MODE_0 | SPI_CS_HIGH)
-#define CONFIG_FSL_PMIC_BITLEN 32
+#define CFG_FSL_PMIC_BITLEN    32
 
 /*
  * MMC Configs