summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/timer/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/drivers/timer/generic.c')
-rw-r--r--payloads/libpayload/drivers/timer/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/timer/generic.c b/payloads/libpayload/drivers/timer/generic.c
index ef9eda54ad..bd5674be8c 100644
--- a/payloads/libpayload/drivers/timer/generic.c
+++ b/payloads/libpayload/drivers/timer/generic.c
@@ -33,7 +33,7 @@
#include <assert.h>
#include <libpayload.h>
-uint64_t timer_hz(void)
+uint32_t timer_hz(void)
{
/* libc/time.c currently requires all timers to be at least 1MHz. */
assert(CONFIG_LP_TIMER_GENERIC_HZ >= 1000000);