diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-28 18:51:16 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 18:51:16 -0400 |
commit | bbcacdf4cd23f2e5deb9ef916096c956c955243d (patch) | |
tree | 3065b9346139a0f30bc3f9e77f1ee27e8fba3fdd /board/st/stm32mp1/spl.c | |
parent | 22ecb12132a2de80a08654f139ff978176034c38 (diff) | |
parent | 537892065ac1428a48193d4b0fa7bf827e8d0d44 (diff) |
Merge branch '2021-07-28-build-improvements'
- Assorted Makefile cleanups
- A few code / build cleanups
Diffstat (limited to 'board/st/stm32mp1/spl.c')
-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 a6a41780c9..8e4549a1b3 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; |