diff options
author | Jett Rink <jettrink@chromium.org> | 2020-11-11 12:22:04 -0700 |
---|---|---|
committer | Rajat Jain <rajatja@google.com> | 2020-11-11 19:37:04 +0000 |
commit | 936df714ebd00e54cd1e9b23d57a8f93f0ae0871 (patch) | |
tree | 708f33065d78bce1c47985c08b774f18501cffd9 /common/cbi.c | |
parent | e50f47c5d21c02fdc97d49ad0e207e6185930e6f (diff) | |
download | chrome-ec-936df714ebd00e54cd1e9b23d57a8f93f0ae0871.tar.gz |
Revert "crc8: rename crc8 to cros_crc8 to to avoid zephyr conflict"
Something slipped through CQ coverage. Need to figure out, but in the
mean time, revert the 3 CLs that seemed to have caused the issue.
BRANCH=none
BUG=chromium:1147953
TEST=none
This reverts commit befe5a9c78ff4e75db7c5cda801688c8976e95f3.
Change-Id: I14e82f33646b6574b1b3da13783143e3a29d417b
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533357
Diffstat (limited to 'common/cbi.c')
-rw-r--r-- | common/cbi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cbi.c b/common/cbi.c index 02f154e8ee..c6fa213807 100644 --- a/common/cbi.c +++ b/common/cbi.c @@ -26,8 +26,8 @@ */ uint8_t cbi_crc8(const struct cbi_header *h) { - return cros_crc8((uint8_t *)&h->crc + 1, - h->total_size - sizeof(h->magic) - sizeof(h->crc)); + return 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, |