mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-23 14:51:31 +02:00
global: Migrate CONFIG_FSL_PMIC_CS to CFG
Perform a simple rename of CONFIG_FSL_PMIC_CS to CFG_FSL_PMIC_CS Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
3a8be4da79
commit
f200d710d8
@ -39,7 +39,7 @@ int pmic_init(unsigned char bus)
|
|||||||
|
|
||||||
#if defined(CONFIG_POWER_SPI)
|
#if defined(CONFIG_POWER_SPI)
|
||||||
p->interface = PMIC_SPI;
|
p->interface = PMIC_SPI;
|
||||||
p->hw.spi.cs = CONFIG_FSL_PMIC_CS;
|
p->hw.spi.cs = CFG_FSL_PMIC_CS;
|
||||||
p->hw.spi.clk = CFG_FSL_PMIC_CLK;
|
p->hw.spi.clk = CFG_FSL_PMIC_CLK;
|
||||||
p->hw.spi.mode = CONFIG_FSL_PMIC_MODE;
|
p->hw.spi.mode = CONFIG_FSL_PMIC_MODE;
|
||||||
p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN;
|
p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
/* PMIC Controller */
|
/* PMIC Controller */
|
||||||
#define CFG_FSL_PMIC_BUS 0
|
#define CFG_FSL_PMIC_BUS 0
|
||||||
#define CONFIG_FSL_PMIC_CS 0
|
#define CFG_FSL_PMIC_CS 0
|
||||||
#define CFG_FSL_PMIC_CLK 2500000
|
#define CFG_FSL_PMIC_CLK 2500000
|
||||||
#define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH)
|
#define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH)
|
||||||
#define CFG_FSL_PMIC_BITLEN 32
|
#define CFG_FSL_PMIC_BITLEN 32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user