Skip to content
Snippets Groups Projects
Commit 0a57c037 authored by Dmitry Lifshitz's avatar Dmitry Lifshitz Committed by Tom Rini
Browse files

omap3: cm-t3517: add board specific get_board_rev()


CM-T3517 has several HW revisions.
Add board specific get_board_rev() callback to retrieve revision number.

Signed-off-by: default avatarDmitry Lifshitz <lifshitz@compulab.co.il>
Reviewed-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
parent a1e56cf6
No related branches found
No related tags found
No related merge requests found
...@@ -98,6 +98,15 @@ int board_init(void) ...@@ -98,6 +98,15 @@ int board_init(void)
return 0; return 0;
} }
/*
* Routine: get_board_rev
* Description: read system revision
*/
u32 get_board_rev(void)
{
return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS);
};
int misc_init_r(void) int misc_init_r(void)
{ {
cl_print_pcb_info(); cl_print_pcb_info();
......
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