@@ -48,14 +48,6 @@ LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);
48
48
#define INF (dev , subsys , ...) CLOCK_LOG(INF, dev, subsys, __VA_ARGS__)
49
49
#define DBG (dev , subsys , ...) CLOCK_LOG(DBG, dev, subsys, __VA_ARGS__)
50
50
51
- #if defined(NRF54L05_XXAA ) || defined(NRF54L10_XXAA ) || defined(NRF54L15_XXAA )
52
- #if NRFX_RELEASE_VER_AT_LEAST (3 , 11 , 0 )
53
- #error "Remove workaround for XOSTART as it is already done in the nrfx clock"
54
- #endif
55
-
56
- #define USE_WORKAROUND_FOR_CLOCK_XOSTART_ANOMALY 1
57
- #endif
58
-
59
51
/* Clock subsys structure */
60
52
struct nrf_clock_control_sub_data {
61
53
clock_control_cb_t cb ;
@@ -243,9 +235,6 @@ static void hfclk_start(void)
243
235
hf_start_tstamp = k_uptime_get ();
244
236
}
245
237
246
- #ifdef USE_WORKAROUND_FOR_CLOCK_XOSTART_ANOMALY
247
- nrf_clock_task_trigger (NRF_CLOCK , NRF_CLOCK_TASK_PLLSTART );
248
- #endif
249
238
nrfx_clock_hfclk_start ();
250
239
}
251
240
@@ -256,9 +245,6 @@ static void hfclk_stop(void)
256
245
}
257
246
258
247
nrfx_clock_hfclk_stop ();
259
- #ifdef USE_WORKAROUND_FOR_CLOCK_XOSTART_ANOMALY
260
- nrf_clock_task_trigger (NRF_CLOCK , NRF_CLOCK_TASK_PLLSTOP );
261
- #endif
262
248
}
263
249
264
250
#if NRF_CLOCK_HAS_HFCLK192M
0 commit comments