summaryrefslogtreecommitdiff
path: root/common/cbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cbi.c')
-rw-r--r--common/cbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cbi.c b/common/cbi.c
index c6fa213807..02f154e8ee 100644
--- a/common/cbi.c
+++ b/common/cbi.c
@@ -26,8 +26,8 @@
*/
uint8_t cbi_crc8(const struct cbi_header *h)
{
- return crc8((uint8_t *)&h->crc + 1,
- h->total_size - sizeof(h->magic) - sizeof(h->crc));
+ return cros_crc8((uint8_t *)&h->crc + 1,
+ h->total_size - sizeof(h->magic) - sizeof(h->crc));
}
uint8_t *cbi_set_data(uint8_t *p, enum cbi_data_tag tag,