File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ config SOC_SERIES_NRF53X
7
7
bool
8
8
select ARM
9
9
select SOC_COMPATIBLE_NRF53X
10
+ select SOC_EARLY_INIT_HOOK
10
11
select CPU_CORTEX_M33
11
12
select CPU_CORTEX_M_HAS_DWT
12
13
select CPU_HAS_ARM_MPU
Original file line number Diff line number Diff line change @@ -478,8 +478,7 @@ static int rtc_pretick_init(void)
478
478
}
479
479
#endif /* CONFIG_SOC_NRF53_RTC_PRETICK */
480
480
481
-
482
- static int nordicsemi_nrf53_init (void )
481
+ void soc_early_init_hook (void )
483
482
{
484
483
#if defined(CONFIG_SOC_NRF5340_CPUAPP ) && defined(CONFIG_NRF_ENABLE_CACHE )
485
484
#if !defined(CONFIG_BUILD_WITH_TFM )
@@ -553,15 +552,13 @@ static int nordicsemi_nrf53_init(void)
553
552
nrf_regulators_vreg_enable_set (NRF_REGULATORS , NRF_REGULATORS_VREG_HIGH , true);
554
553
#endif
555
554
556
- return 0 ;
557
555
}
558
556
559
557
void arch_busy_wait (uint32_t time_us )
560
558
{
561
559
nrfx_coredep_delay_us (time_us );
562
560
}
563
561
564
- SYS_INIT (nordicsemi_nrf53_init , PRE_KERNEL_1 , 0 );
565
562
566
563
#ifdef CONFIG_SOC_NRF53_RTC_PRETICK
567
564
SYS_INIT (rtc_pretick_init , POST_KERNEL , 0 );
You can’t perform that action at this time.
0 commit comments