Skip to content

Commit 53a706e

Browse files
committed
[sw,clkmgr_testutils] Gate external clock features
Signed-off-by: Robert Schilling <[email protected]>
1 parent 39d3351 commit 53a706e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sw/device/lib/testing/clkmgr_testutils.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,11 @@ status_t clkmgr_testutils_check_measurement_counts(const dif_clkmgr_t *clkmgr) {
278278

279279
status_t clkmgr_testutils_enable_external_clock_blocking(
280280
const dif_clkmgr_t *clkmgr, bool is_low_speed) {
281+
#if defined(OPENTITAN_IS_EARLGREY)
281282
LOG_INFO("Configure clkmgr to enable external clock");
282283
TRY(dif_clkmgr_external_clock_set_enabled(clkmgr, is_low_speed));
283284
TRY(dif_clkmgr_wait_for_ext_clk_switch(clkmgr));
284285
LOG_INFO("Switching to external clock completes");
286+
#endif
285287
return OK_STATUS();
286288
}

0 commit comments

Comments
 (0)