soc: stm32h7r/s: smps is supported on all SoCs
Remove the sanity check between Cube HAL SMPS symbol and Kconfig SMPS configuration. SMPS is available on all STM32H7R/S SoC, so misalignment isn't possible. Additionally, point to the hal commit which revert the fix which was done on hal_stm32 to add this symbol. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
parent
c8742a3cec
commit
b4c1dc63a8
2 changed files with 1 additions and 11 deletions
|
@ -36,16 +36,6 @@ void soc_early_init_hook(void)
|
|||
SystemCoreClock = 64000000;
|
||||
|
||||
/* Power Configuration */
|
||||
#if !defined(SMPS) && \
|
||||
(defined(CONFIG_POWER_SUPPLY_DIRECT_SMPS) || \
|
||||
defined(CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_LDO) || \
|
||||
defined(CONFIG_POWER_SUPPLY_SMPS_2V5_SUPPLIES_LDO) || \
|
||||
defined(CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_EXT_AND_LDO) || \
|
||||
defined(CONFIG_POWER_SUPPLY_SMPS_2V5_SUPPLIES_EXT_AND_LDO) || \
|
||||
defined(CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_EXT) || \
|
||||
defined(CONFIG_POWER_SUPPLY_SMPS_2V5_SUPPLIES_EXT))
|
||||
#error Unsupported configuration: Selected SoC do not support SMPS
|
||||
#endif
|
||||
#if defined(CONFIG_POWER_SUPPLY_DIRECT_SMPS)
|
||||
LL_PWR_ConfigSupply(LL_PWR_DIRECT_SMPS_SUPPLY);
|
||||
#elif defined(CONFIG_POWER_SUPPLY_SMPS_1V8_SUPPLIES_LDO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue