aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini2022-12-04 10:03:59 -0500
committerTom Rini2022-12-23 10:09:43 -0500
commiteaaca4245e610e90afae88a70307535a48fefcb5 (patch)
tree4fcef9aca4787fc9a91f3ea9196853929bc9ff2f
parente3e4efc04f8f49feb9486f4b5a8a28c917568718 (diff)
global: Migrate CONFIG_FSL_PMIC_BUS to CFG
Perform a simple rename of CONFIG_FSL_PMIC_BUS to CFG_FSL_PMIC_BUS Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/freescale/mx51evk/mx51evk.c2
-rw-r--r--include/configs/mx51evk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c
index 86364acf8ca..95edb359944 100644
--- a/board/freescale/mx51evk/mx51evk.c
+++ b/board/freescale/mx51evk/mx51evk.c
@@ -86,7 +86,7 @@ static void power_init(void)
struct pmic *p;
int ret;
- ret = pmic_init(CONFIG_FSL_PMIC_BUS);
+ ret = pmic_init(CFG_FSL_PMIC_BUS);
if (ret)
return;
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index d4cca8d516a..1aaa76240de 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -21,7 +21,7 @@
#define CONFIG_MXC_UART_BASE UART1_BASE
/* PMIC Controller */
-#define CONFIG_FSL_PMIC_BUS 0
+#define CFG_FSL_PMIC_BUS 0
#define CONFIG_FSL_PMIC_CS 0
#define CONFIG_FSL_PMIC_CLK 2500000
#define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH)