[PATCH 1/3] board: ti: common: Optimize boot when detecting consecutive bad records
Tom Rini
trini at konsulko.com
Fri Jun 17 20:50:22 CEST 2022
On Fri, Jun 17, 2022 at 01:26:10PM -0500, Nishanth Menon wrote:
> The eeprom data area is much bigger than the data we intend to store,
> however, with bad programming, we might end up reading bad records over
> and over till we run out of eeprom space. instead just exit when 10
> consecutive records are read.
>
> Signed-off-by: Nishanth Menon <nm at ti.com>
Why not just stop at the first bad record? Otherwise 10 seems like a
fine, small, arbitrary number. If it's not arbitrary but number of
total records, do we already enum the total number of records or
something where we could say that we tried to read all possible records,
everyone was bad, stop?
--
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/20220617/4f527cd6/attachment.sig>
More information about the U-Boot
mailing list