commit | 8b5218e7cb9ff4223f2825c04e45dabccbd15a48 | [log] [tgz] |
---|---|---|
author | Nishanth Menon <nm@ti.com> | Fri Jun 17 13:26:10 2022 -0500 |
committer | Tom Rini <trini@konsulko.com> | Wed Jul 06 14:30:08 2022 -0400 |
tree | 1cd20747720c59483ab934bfc391ff1e8197ab86 | |
parent | e4b4501edede200df526dd06af0fdbecf836f2ef [diff] |
board: ti: common: Optimize boot when detecting consecutive bad records 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@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>