Skip to content
Snippets Groups Projects
Commit a9643324 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini
Browse files

board: AM335x-ICEv2: Add epprom support


Similar to other TI's AM335x platforms, AM335x ICEv2 also has an
eeprom populated for its unique identification. Adding this info
so that AM335x ICEv2 specific initialization can be done.

Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 61bb825c
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,11 @@ static inline int board_is_evm_15_or_later(void) ...@@ -47,6 +47,11 @@ static inline int board_is_evm_15_or_later(void)
strncmp("1.5", board_ti_get_rev(), 3) <= 0); strncmp("1.5", board_ti_get_rev(), 3) <= 0);
} }
static inline int board_is_icev2(void)
{
return board_ti_is("A335_ICE") && !strncmp("2", board_ti_get_rev(), 1);
}
/* /*
* We have three pin mux functions that must exist. We must be able to enable * We have three pin mux functions that must exist. We must be able to enable
* uart0, for initial output and i2c0 to read the main EEPROM. We then have a * uart0, for initial output and i2c0 to read the main EEPROM. We then have a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment