Show board information in bootlog and enable it by default. Signed-off-by: Michal Simek <[email protected]> ---
board/xilinx/zynq/board.c | 8 ++++++++
include/configs/zynq-common.h | 1 +
2 files changed, 9 insertions(+)
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c
index 258632e52b0b..e13105654514 100644
--- a/board/xilinx/zynq/board.c
+++ b/board/xilinx/zynq/board.c
@@ -87,6 +87,14 @@ int board_late_init(void)
return 0;
}
+#ifdef CONFIG_DISPLAY_BOARDINFO
+int checkboard(void)
+{
+ puts("Board:\tXilinx Zynq\n");
+ return 0;
+}
+#endif
+
int board_eth_init(bd_t *bis)
{
u32 ret = 0;
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 87b4fffeb9fb..3a62ec75dbc9 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -181,6 +181,7 @@
#define CONFIG_CMDLINE_EDITING
#define CONFIG_AUTO_COMPLETE
#define CONFIG_BOARD_LATE_INIT
+#define CONFIG_DISPLAY_BOARDINFO
#define CONFIG_SYS_LONGHELP
#define CONFIG_CLOCKS
#define CONFIG_CMD_CLK
--
1.8.2.3
pgptcXH18Kr8x.pgp
Description: PGP signature
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

