[U-Boot] [PATCH 1/5] board: ti: am43xx: print unsupported board name

Felipe Balbi balbi at ti.com
Tue Jun 10 20:44:13 CEST 2014


when porting u-boot to a new am43xx board, it
helps to know the name of the current unsupported
board so we don't have to hunt for design documents
to figure out what's written in the EEPROM.

Signed-off-by: Felipe Balbi <balbi at ti.com>
---
 board/ti/am43xx/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index 71af1ae..6197076 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -260,7 +260,7 @@ const struct dpll_params *get_dpll_ddr_params(void)
 	else if (board_is_gpevm())
 		return &gp_evm_dpll_ddr;
 
-	puts(" Board not supported\n");
+	printf(" Board '%s' not supported\n", am43xx_board_name);
 	return NULL;
 }
 
-- 
2.0.0.rc1



More information about the U-Boot mailing list