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

Felipe Balbi balbi at ti.com
Fri May 9 21:59:36 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 d744977..24097b0 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -266,7 +266,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