diff options
Diffstat (limited to 'common/vboot/efs2.c')
-rw-r--r-- | common/vboot/efs2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/vboot/efs2.c b/common/vboot/efs2.c index e608fd5841..f0b60e49e0 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 = crc8((uint8_t *)&p->type, + p->crc = cros_crc8((uint8_t *)&p->type, sizeof(p->type) + sizeof(p->size) + size); do { |