diff options
Diffstat (limited to 'common/system.c')
-rw-r--r-- | common/system.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/system.c b/common/system.c index d64c9c3643..aa427e0dc0 100644 --- a/common/system.c +++ b/common/system.c @@ -274,6 +274,12 @@ int system_jumped_to_this_image(void) return jumped_to_image; } +int system_jumped_late(void) +{ + return !(reset_flags & EC_RESET_FLAG_EFS) + && (reset_flags & EC_RESET_FLAG_SYSJUMP); +} + int system_add_jump_tag(uint16_t tag, int version, int size, const void *data) { struct jump_tag *t; |