u-boot/board/ti
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
..
am43xx tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
am57xx tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
am62ax board: ti: *-cfg.yaml: Adhere to yamllint rules 2024-01-18 17:50:26 -05:00
am62x board: ti: *-cfg.yaml: Adhere to yamllint rules 2024-01-18 17:50:26 -05:00
am64x board: ti: am64: Support TMDS64EVM 2024-01-18 17:50:27 -05:00
am65x board: ti: *-cfg.yaml: Adhere to yamllint rules 2024-01-18 17:50:26 -05:00
am335x ti: am335x: Remove unused linker script 2024-01-11 21:19:25 -05:00
common board: ti: common: board_detect: Fix EEPROM offset read for 1-byte 2024-01-24 11:12:04 -05:00
dra7xx doc: board: ti: Move documentation from README to .rst 2023-09-09 06:12:47 +02:00
j721e Merge patch series "k3-j721e: beagleboneai: Fix USB" 2024-01-20 11:39:13 -05:00
j721s2 board: ti: *-cfg.yaml: Adhere to yamllint rules 2024-01-18 17:50:26 -05:00
ks2_evm global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
omap3evm global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
panda doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
sdp4430 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00