]> git.baikalelectronics.ru Git - uboot.git/commit
board: ti: common: Optimize boot when detecting consecutive bad records
authorNishanth Menon <nm@ti.com>
Fri, 17 Jun 2022 18:26:10 +0000 (13:26 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:08 +0000 (14:30 -0400)
commit697eafa3e998a5703e8dfee7b3904712dfd8213a
tree1cd20747720c59483ab934bfc391ff1e8197ab86
parent8f9e9ae8353bda7281dcefefac722b119c0fffd2
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>
board/ti/common/board_detect.c