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

board: ti: am574x-idk: Add epprom support


am574x-idk is a board based on TI's am574 processor
Add eeprom support.

Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 941f2fcc
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#define board_is_am572x_evm_reva3() \ #define board_is_am572x_evm_reva3() \
(board_ti_is("AM572PM_") && \ (board_ti_is("AM572PM_") && \
!strncmp("A.30", board_ti_get_rev(), 3)) !strncmp("A.30", board_ti_get_rev(), 3))
#define board_is_am574x_idk() board_ti_is("AM574IDK")
#define board_is_am572x_idk() board_ti_is("AM572IDK") #define board_is_am572x_idk() board_ti_is("AM572IDK")
#define board_is_am571x_idk() board_ti_is("AM571IDK") #define board_is_am571x_idk() board_ti_is("AM571IDK")
...@@ -481,6 +482,8 @@ void do_board_detect(void) ...@@ -481,6 +482,8 @@ void do_board_detect(void)
bname = "BeagleBoard X15"; bname = "BeagleBoard X15";
else if (board_is_am572x_evm()) else if (board_is_am572x_evm())
bname = "AM572x EVM"; bname = "AM572x EVM";
else if (board_is_am574x_idk())
bname = "AM574x IDK";
else if (board_is_am572x_idk()) else if (board_is_am572x_idk())
bname = "AM572x IDK"; bname = "AM572x IDK";
else if (board_is_am571x_idk()) else if (board_is_am571x_idk())
...@@ -513,6 +516,8 @@ static void setup_board_eeprom_env(void) ...@@ -513,6 +516,8 @@ static void setup_board_eeprom_env(void)
name = "am57xx_evm_reva3"; name = "am57xx_evm_reva3";
else else
name = "am57xx_evm"; name = "am57xx_evm";
} else if (board_is_am574x_idk()) {
name = "am574x_idk";
} else if (board_is_am572x_idk()) { } else if (board_is_am572x_idk()) {
name = "am572x_idk"; name = "am572x_idk";
} else if (board_is_am571x_idk()) { } else if (board_is_am571x_idk()) {
......
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