summaryrefslogtreecommitdiff
path: root/common/vboot/efs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/vboot/efs2.c')
-rw-r--r--common/vboot/efs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/vboot/efs2.c b/common/vboot/efs2.c
index f0b60e49e0..e608fd5841 100644
--- a/common/vboot/efs2.c
+++ b/common/vboot/efs2.c
@@ -141,7 +141,7 @@ static enum cr50_comm_err cmd_to_cr50(enum cr50_comm_cmd cmd,
p->type = cmd;
p->size = size;
memcpy(p->data, data, size);
- p->crc = cros_crc8((uint8_t *)&p->type,
+ p->crc = crc8((uint8_t *)&p->type,
sizeof(p->type) + sizeof(p->size) + size);
do {