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

Add a function that can be used to determine if the board being ran on is
a K2G Industrial Communication Engine EVM or K2G General Purpose EVM based
on values programmed on the EEPROM.

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