diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-04 18:04:00 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-23 18:09:43 +0300 |
commit | 3a8be4da79b0aafbfff1e1655ac89f9ab4cc4fcc (patch) | |
tree | c3ac674cf286d8e5344e16c250062827d98c9c1d | |
parent | eaaca4245e610e90afae88a70307535a48fefcb5 (diff) | |
download | u-boot-3a8be4da79b0aafbfff1e1655ac89f9ab4cc4fcc.tar.xz |
global: Migrate CONFIG_FSL_PMIC_CLK to CFG
Perform a simple rename of CONFIG_FSL_PMIC_CLK to CFG_FSL_PMIC_CLK
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/power/power_fsl.c | 2 | ||||
-rw-r--r-- | include/configs/mx51evk.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c index eace4dd7e4..a576d1570b 100644 --- a/drivers/power/power_fsl.c +++ b/drivers/power/power_fsl.c @@ -40,7 +40,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.clk = CONFIG_FSL_PMIC_CLK; + p->hw.spi.clk = CFG_FSL_PMIC_CLK; p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN; p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 1aaa76240d..ee0782ebfe 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -23,7 +23,7 @@ /* PMIC Controller */ #define CFG_FSL_PMIC_BUS 0 #define CONFIG_FSL_PMIC_CS 0 -#define CONFIG_FSL_PMIC_CLK 2500000 +#define CFG_FSL_PMIC_CLK 2500000 #define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH) #define CFG_FSL_PMIC_BITLEN 32 |