summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/system.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/system.c b/common/system.c
index b4387f5257..8302ae8885 100644
--- a/common/system.c
+++ b/common/system.c
@@ -369,7 +369,8 @@ int system_add_jump_tag(uint16_t tag, int version, int size, const void *data)
return EC_SUCCESS;
}
-const uint8_t *system_get_jump_tag(uint16_t tag, int *version, int *size)
+test_mockable const uint8_t *system_get_jump_tag(uint16_t tag, int *version,
+ int *size)
{
const struct jump_tag *t;
int used = 0;