All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2] board: am57xx: Fix missing check for beagle_x15
@ 2016-09-02 18:51 Nishanth Menon
  2016-09-02 19:08 ` Tom Rini
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nishanth Menon @ 2016-09-02 18:51 UTC (permalink / raw)
  To: u-boot

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>
---
Changes since V1:
	- move the x15 check higher up in the list.

V1: https://patchwork.ozlabs.org/patch/665144/

 board/ti/am57xx/board.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 927d1364fe46..64de60254136 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";
-- 
2.9.1.200.gb1ec08f

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-07 18:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 18:51 [U-Boot] [PATCH V2] board: am57xx: Fix missing check for beagle_x15 Nishanth Menon
2016-09-02 19:08 ` Tom Rini
2016-09-03 16:54 ` Lokesh Vutla
2016-09-07 18:00 ` [U-Boot] [U-Boot, " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.