summaryrefslogtreecommitdiff
path: root/core/cortex-m
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m')
-rw-r--r--core/cortex-m/timer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/cortex-m/timer.c b/core/cortex-m/timer.c
index 10370aeeb6..d3eaae7efb 100644
--- a/core/cortex-m/timer.c
+++ b/core/cortex-m/timer.c
@@ -250,18 +250,14 @@ DECLARE_CONSOLE_COMMAND(timerinfo, command_timer_info,
#define TIMER_SYSJUMP_TAG 0x4d54 /* "TM" */
-
/* Preserve time across a sysjump */
-static int timer_sysjump(void)
+static void timer_sysjump(void)
{
timestamp_t ts = get_time();
system_add_jump_tag(TIMER_SYSJUMP_TAG, 1, sizeof(ts), &ts);
-
- return EC_SUCCESS;
}
DECLARE_HOOK(HOOK_SYSJUMP, timer_sysjump, HOOK_PRIO_DEFAULT);
-
int timer_init(void)
{
const timestamp_t *ts;