diff options
| author | Simon Glass <[email protected]> | 2021-07-10 21:14:24 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-28 14:27:54 -0400 |
| commit | 933b2f09cbbb7b01af415d204b712b3f93c04dde (patch) | |
| tree | bd06e9ec57a772b1570283a03c1e66c0e8e25f7e /board/st | |
| parent | 9d910b76f70166b7b0b271710a92eaa289b011c6 (diff) | |
Rename SPL_POWER_SUPPORT to SPL_POWER
Rename this option so that CONFIG_IS_ENABLED can be used with it.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'board/st')
| -rw-r--r-- | board/st/stm32mp1/spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/st/stm32mp1/spl.c b/board/st/stm32mp1/spl.c index a6a41780c96..8e4549a1b35 100644 --- a/board/st/stm32mp1/spl.c +++ b/board/st/stm32mp1/spl.c @@ -17,13 +17,13 @@ static u32 opp_voltage_mv __section(".data"); void board_vddcore_init(u32 voltage_mv) { - if (IS_ENABLED(CONFIG_PMIC_STPMIC1) && CONFIG_IS_ENABLED(POWER_SUPPORT)) + if (IS_ENABLED(CONFIG_PMIC_STPMIC1) && CONFIG_IS_ENABLED(POWER)) opp_voltage_mv = voltage_mv; } int board_early_init_f(void) { - if (IS_ENABLED(CONFIG_PMIC_STPMIC1) && CONFIG_IS_ENABLED(POWER_SUPPORT)) + if (IS_ENABLED(CONFIG_PMIC_STPMIC1) && CONFIG_IS_ENABLED(POWER)) stpmic1_init(opp_voltage_mv); return 0; |
