File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,13 @@ config STM32H7_PWR_LDO_SUPPLY
318
318
319
319
endchoice # "STM32 H7 Power Supply Selection"
320
320
321
+ config STM32H7_PWR_IGNORE_ACTVOSRDY
322
+ bool "Ignore PWR_CSR1_ACTVOSRDY bit"
323
+ default n
324
+ ---help---
325
+ This option disable busy wait for PWR_CSR1_ACTVOSRDY during boot.
326
+ This is workaround for Renode simulation that doesn't implement this feature.
327
+
321
328
config STM32H7_IO_CONFIG_A
322
329
bool
323
330
default n
Original file line number Diff line number Diff line change @@ -926,11 +926,13 @@ void stm32_stdclockconfig(void)
926
926
{
927
927
}
928
928
929
+ #ifndef CONFIG_STM32H7_PWR_IGNORE_ACTVOSRDY
929
930
/* See Reference manual Section 5.4.1, System supply startup */
930
931
931
932
while ((getreg32 (STM32_PWR_CSR1 ) & PWR_CSR1_ACTVOSRDY ) == 0 )
932
933
{
933
934
}
935
+ #endif
934
936
935
937
#if STM32_VOS_OVERDRIVE && (STM32_PWR_VOS_SCALE == PWR_D3CR_VOS_SCALE_1 )
936
938
/* Over-drive support for VOS1 */
Original file line number Diff line number Diff line change @@ -890,11 +890,13 @@ void stm32_stdclockconfig(void)
890
890
{
891
891
}
892
892
893
+ #ifndef CONFIG_STM32H7_PWR_IGNORE_ACTVOSRDY
893
894
/* See Reference manual Section 5.4.1, System supply startup */
894
895
895
896
while ((getreg32 (STM32_PWR_CSR1 ) & PWR_CSR1_ACTVOSRDY ) == 0 )
896
897
{
897
898
}
899
+ #endif
898
900
899
901
#if STM32_VOS_OVERDRIVE && (STM32_PWR_VOS_SCALE == PWR_D3CR_VOS_SCALE_1 )
900
902
/* Over-drive support for VOS1 */
You can’t perform that action at this time.
0 commit comments