ks2_evm: Add EEPROM based board detection
authorCooper Jr., Franklin <fcooper@ti.com>
Fri, 16 Jun 2017 22:25:17 +0000 (17:25 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 10 Jul 2017 18:25:56 +0000 (14:25 -0400)
commite820f523d8fbe8f4765688316f2ae424d0a4ea99
treebe140ba81ce0da3e1f556291f6a4dcd898311837
parent7234f215ccce1782968ffa1b2ce7358104177577
ks2_evm: Add EEPROM based board detection

Some K2G evms have their EEPROM programming while most do not. Therefore,
add EEPROM board detection to be used as the default method and fall back
to the alternative board detection when needed.

Also reorder board configuration. Perform bare minimal configuration
initially since board detection hasn't ran. Finish board configuration
once the board has been identified.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/ks2_evm/board.h
board/ti/ks2_evm/board_k2g.c