mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
board: gateworks: venice: gsc: fix typo
Fix typo in error message. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
9fe2106fe0
commit
c4e5656620
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ static int gsc_read_eeprom(int bus, int slave, int alen, struct venice_board_inf
|
|||
chksum += buf[i];
|
||||
if ((info->chksum[0] != chksum >> 8) ||
|
||||
(info->chksum[1] != (chksum & 0xff))) {
|
||||
printf("EEPROM: I2C%d@0x%02x: Invalid Model in EEPROM\n", bus, slave);
|
||||
printf("EEPROM: I2C%d@0x%02x: Invalid Checksum\n", bus, slave);
|
||||
print_hex_dump_bytes("", DUMP_PREFIX_NONE, buf, sizeof(*info));
|
||||
memset(info, 0, sizeof(*info));
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Add table
Reference in a new issue