u-boot/board/ti/common
Prasanth Babu Mantena dd83c1c865 board: ti: common: board_detect: Fix EEPROM offset read for 1-byte
EEPROM detection logic in ti_i2c_eeprom_get() involves reading
the total size and the 1-byte size with an offset 1. The commit
9f393a2d7a ("board: ti: common: board_detect: Fix EEPROM read
quirk for 2-byte") that attempts to fix this uses a wrong pointer to
compare.

The value with one offset is read into offset_test, but the pointer
used to match was still ep, resulting in an invalid comparison of the
values. The intent is to identify bad 2-byte addressing eeproms that
get stuck on the successive reads.

Fixes: 9f393a2d7a (board: ti: common: board_detect: Fix EEPROM read quirk for 2-byte)
Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
Tested-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2024-01-24 11:12:04 -05:00
..
board_detect.c board: ti: common: board_detect: Fix EEPROM offset read for 1-byte 2024-01-24 11:12:04 -05:00
board_detect.h tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
cape_detect.c ti/common: add support for extension_scan_board function 2021-05-13 13:09:09 -04:00
cape_detect.h ti/common: add support for extension_scan_board function 2021-05-13 13:09:09 -04:00
Kconfig arm: mach-k3: Add weak do_board_detect() to common file 2023-04-24 13:18:48 -04:00
Makefile tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00