]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: gateworks: venice: gsc: fix typo
authorTim Harvey <tharvey@gateworks.com>
Thu, 1 Jul 2021 00:07:38 +0000 (17:07 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 16:12:42 +0000 (18:12 +0200)
Fix typo in error message.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/venice/gsc.c

index d2490e6063dd4657ca3dff4feedd5613b355072b..23ad58094cd461cb5c3c9918aa3335997c98de21 100644 (file)
@@ -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;