summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-02-28 09:50:07 +0100
committerMichal Simek <michal.simek@xilinx.com>2018-05-11 09:23:43 +0200
commit0b4b82ad1461cc37434e7e0c1de00a61193a95db (patch)
tree375ba59cdb7aacff10799dfa3252239c5ba73b19 /board
parent4aba5fb857c1b0067226dbd457d51ac2b2825427 (diff)
downloadu-boot-0b4b82ad1461cc37434e7e0c1de00a61193a95db.tar.gz
u-boot-0b4b82ad1461cc37434e7e0c1de00a61193a95db.tar.xz
u-boot-0b4b82ad1461cc37434e7e0c1de00a61193a95db.zip
arm: zynq: Remove checkboard and enable DISPLAY_CPUINFO
Now that showing silicon version is part of the CPU info display, let's remove checkboard(). Note that the generic show_board_info() will still show the DT 'model' property. For instance: U-Boot 2018.05-rc2-00025-g611b3ee0159b (Apr 19 2018 - 11:23:12 +0200) CPU: Zynq 7z045 Silicon: v1.0 Model: Zynq ZC706 Development Board I2C: ready Based on patches from Ariel D'Alessandro <ariel@vanguardiasur.com.ar>, and Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> mini configuration doesn't need to show this information. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/zynq/board.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c
index e58c587603..e4f86d187a 100644
--- a/board/xilinx/zynq/board.c
+++ b/board/xilinx/zynq/board.c
@@ -13,7 +13,6 @@
#include <zynqpl.h>
#include <asm/arch/hardware.h>
#include <asm/arch/sys_proto.h>
-#include <asm/arch/ps7_init_gpl.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -73,22 +72,6 @@ int board_late_init(void)
return 0;
}
-#ifdef CONFIG_DISPLAY_BOARDINFO
-int checkboard(void)
-{
- u32 version = zynq_get_silicon_version();
-
- version <<= 1;
- if (version > (PCW_SILICON_VERSION_3 << 1))
- version += 1;
-
- puts("Board: Xilinx Zynq\n");
- printf("Silicon: v%d.%d\n", version >> 1, version & 1);
-
- return 0;
-}
-#endif
-
int zynq_board_read_rom_ethaddr(unsigned char *ethaddr)
{
#if defined(CONFIG_ZYNQ_GEM_EEPROM_ADDR) && \