From 0bf512afe364965fb3812bca7b893dff8a52beaa Mon Sep 17 00:00:00 2001 From: Samuel MARTIN Date: Mon, 5 Feb 2024 10:48:43 +0100 Subject: [PATCH] zephyr: main.c: Print the HW clock speed at boot Dump the HW clock speed at start-up. Signed-off-by: Samuel MARTIN --- boot/zephyr/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/zephyr/main.c b/boot/zephyr/main.c index daf554c8b..97d525fac 100644 --- a/boot/zephyr/main.c +++ b/boot/zephyr/main.c @@ -542,6 +542,7 @@ void main(void) (void)rc; + BOOT_LOG_INF("HW clock : %dMHz", CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC / 1000000); #ifdef SIGNATURE_KEY BOOT_LOG_INF("Sign. key: " SIGNATURE_KEY); #endif