summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2016-09-02 13:51:33 -0500
committerTom Rini <trini@konsulko.com>2016-09-07 08:49:05 -0400
commitc989166037941f80e0d46f1fa4e37c9f4f876b80 (patch)
tree8638b68518e76f3449a0e99e76e6054aaff9060f /board
parentc0b1d80a1027a035dc2d72d18cbd936b07000e78 (diff)
downloadu-boot-imx-c989166037941f80e0d46f1fa4e37c9f4f876b80.zip
u-boot-imx-c989166037941f80e0d46f1fa4e37c9f4f876b80.tar.gz
u-boot-imx-c989166037941f80e0d46f1fa4e37c9f4f876b80.tar.bz2
board: am57xx: Fix missing check for beagle_x15
When beagleboard-X15 is booted, we see the following log: Unidentified board claims BBRDX15_ in eeprom header This is because of the missing check for x15 (the default) and reports an error for a valid board configuration. Fix the same. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/ti/am57xx/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 927d136..64de602 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -338,7 +338,9 @@ static void setup_board_eeprom_env(void)
if (rc)
goto invalid_eeprom;
- if (board_is_am572x_evm())
+ if (board_is_x15())
+ name = "beagle_x15";
+ else if (board_is_am572x_evm())
name = "am57xx_evm";
else if (board_is_am572x_idk())
name = "am572x_idk";