ARM: zynq: Show board information by default
authorMichal Simek <michal.simek@xilinx.com>
Thu, 28 Aug 2014 11:31:02 +0000 (13:31 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Jan 2015 07:55:57 +0000 (08:55 +0100)
Show board information in bootlog and enable it by default.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynq/board.c
include/configs/zynq-common.h

index 258632e52b0b602cad9c7368f66e01d87aa04ccb..e1310565451433fa73ce8ec5fee52bdbe4f20d63 100644 (file)
@@ -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;
index 87b4fffeb9fb262143edaae2599220c04255a959..3a62ec75dbc92d0336bf3ca433ec5820aa061116 100644 (file)
 #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