diff options
Diffstat (limited to 'common/cbi.c')
-rw-r--r-- | common/cbi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cbi.c b/common/cbi.c index 9e6aa2cda1..345e313c54 100644 --- a/common/cbi.c +++ b/common/cbi.c @@ -145,7 +145,8 @@ static int do_cbi_read(void) } /* Check CRC. This supports new fields unknown to this parser. */ - if (cbi_crc8(head) != head->crc) { + if (cbi_config.storage_type != CBI_STORAGE_TYPE_GPIO && + cbi_crc8(head) != head->crc) { CPRINTS("Bad CRC"); return EC_ERROR_INVAL; } |