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>
This commit is contained in:
Tom Rini 2022-12-04 10:04:00 -05:00
parent eaaca4245e
commit 3a8be4da79
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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