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)
commita3a23c97b624fd580a9c5cda3f902af1fc17c801
treeeed660aaab1fda357340ace59e8ba638fe5c2327
parent1a92541d9c5341c6cdf6f713b056c30c1e06a325
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