[PATCH 1/5] board: gateworks: venice: gsc: fix typo
Tim Harvey
tharvey at gateworks.com
Thu Jul 1 02:07:38 CEST 2021
Fix typo in error message.
Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
board/gateworks/venice/gsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/gateworks/venice/gsc.c b/board/gateworks/venice/gsc.c
index d2490e6063..23ad58094c 100644
--- a/board/gateworks/venice/gsc.c
+++ b/board/gateworks/venice/gsc.c
@@ -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 at 0x%02x: Invalid Model in EEPROM\n", bus, slave);
+ printf("EEPROM: I2C%d at 0x%02x: Invalid Checksum\n", bus, slave);
print_hex_dump_bytes("", DUMP_PREFIX_NONE, buf, sizeof(*info));
memset(info, 0, sizeof(*info));
return -EINVAL;
--
2.17.1
More information about the U-Boot
mailing list