[PATCH 2/3] board: ti: common: Handle the legacy eeprom address width properly
Tom Rini
trini at konsulko.com
Sat Jun 18 19:04:01 CEST 2022
On Fri, Jun 17, 2022 at 01:26:11PM -0500, Nishanth Menon wrote:
> Due to supply chain issues, we are starting to see a mixture of eeprom
> usage including the smaller 7-bit addressing eeproms such as 24c04
> used for eeproms.
>
> These eeproms don't respond well to 2 byte addressing and fail the
> read operation. We do have a check to ensure that we are reading the
> alternate addressing size, however the valid failure prevents us
> from checking at 1 byte anymore.
>
> Rectify the same by falling through and depend on header data comparison
> to ensure that we have valid data.
>
> Signed-off-by: Nishanth Menon <nm at ti.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220618/d17d1a65/attachment.sig>
More information about the U-Boot
mailing list