aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:03:58 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:09:43 -0500
commite3e4efc04f8f49feb9486f4b5a8a28c917568718 (patch)
tree8b4a372e12f6d7da95ba250af56c230c74a034fd
parent72fc26450493335ae191afdfcbbbb328b1df6b4d (diff)
downloadu-boot-e3e4efc04f8f49feb9486f4b5a8a28c917568718.zip
u-boot-e3e4efc04f8f49feb9486f4b5a8a28c917568718.tar.gz
u-boot-e3e4efc04f8f49feb9486f4b5a8a28c917568718.tar.bz2
global: Migrate CONFIG_FSL_PMIC_BITLEN to CFG
Perform a simple rename of CONFIG_FSL_PMIC_BITLEN to CFG_FSL_PMIC_BITLEN Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--drivers/power/power_fsl.c2
-rw-r--r--include/configs/mx51evk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c
index 9bb7e39..eace4dd 100644
--- a/drivers/power/power_fsl.c
+++ b/drivers/power/power_fsl.c
@@ -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)
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index 8ab1ee7..d4cca8d 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -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