summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-08-28 13:31:02 +0200
committerMichal Simek <michal.simek@xilinx.com>2015-01-26 08:55:57 +0100
commit5a82d53c7878b7ee5f6b191e6e7b63c4bfa60b19 (patch)
treeda08d4509b7d0d3ad06d52ca1b440d6ecee42d79
parentc8eac66baed79df02cf0f9a3318cb79a044a602d (diff)
downloadblackbird-obmc-uboot-5a82d53c7878b7ee5f6b191e6e7b63c4bfa60b19.tar.gz
blackbird-obmc-uboot-5a82d53c7878b7ee5f6b191e6e7b63c4bfa60b19.zip
ARM: zynq: Show board information by default
Show board information in bootlog and enable it by default. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--board/xilinx/zynq/board.c8
-rw-r--r--include/configs/zynq-common.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c
index 258632e52b..e131056545 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 87b4fffeb9..3a62ec75db 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
OpenPOWER on IntegriCloud