From: Marek Vasut Date: Tue, 30 Dec 2014 20:29:35 +0000 (+0100) Subject: arm: socfpga: Zap checkboard() X-Git-Tag: v2015.04-rc4~61^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7287d5f091c97a38a8820b45aaee123d6bbef12f;p=u-boot arm: socfpga: Zap checkboard() Since all boards now have a DT, instead of hard-coding the board name into the U-Boot binary, read the board name from DT "model" property. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Acked-by: Pavel Machek Acked-by: Stefan Roese Cc: Vince Bridgers --- diff --git a/board/altera/socfpga/socfpga.c b/board/altera/socfpga/socfpga.c index 459d82f351..2b2b63df51 100644 --- a/board/altera/socfpga/socfpga.c +++ b/board/altera/socfpga/socfpga.c @@ -18,15 +18,6 @@ DECLARE_GLOBAL_DATA_PTR; -/* - * Print Board information - */ -int checkboard(void) -{ - puts("BOARD: Altera SoCFPGA Cyclone5 Board\n"); - return 0; -} - /* * Initialization function which happen at early stage of c code */ diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index ee227fef0f..59b7f218a4 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -19,7 +19,7 @@ * High level configuration */ #define CONFIG_DISPLAY_CPUINFO -#define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_DISPLAY_BOARDINFO_LATE #define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_ARCH_EARLY_INIT_R #define CONFIG_SYS_NO_FLASH