]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: DRA7: AMxx: Make sure that the SPL always reads the configuration EEPROM
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 1 Dec 2016 09:37:03 +0000 (10:37 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2016 16:04:40 +0000 (11:04 -0500)
commit2a1c5ea9b74e6be9e783ddc7b4ec08c69ac9ced6
treeeed660aaab1fda357340ace59e8ba638fe5c2327
parent01792fef2b1384aeb353c43433b7b9c90c4832c4
ARM: DRA7: AMxx: Make sure that the SPL always reads the configuration EEPROM

The bootrom may corrupt the area of SRAM used to store the ti_common_eeprom
structure. This patch makes sure that it's always read after a reset, even
if a valid MAGIC number is found in the SRAM.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/common/board_detect.c