]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
arm: socfpga: Zap checkboard()
authorMarek Vasut <marex@denx.de>
Tue, 30 Dec 2014 20:29:35 +0000 (21:29 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:10:29 +0000 (14:10 +0200)
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 <marex@denx.de>
Cc: Chin Liang See <clsee@opensource.altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Pavel Machek <pavel@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
Cc: Vince Bridgers <vbridger@opensource.altera.com>
board/altera/socfpga/socfpga.c
include/configs/socfpga_common.h

index 459d82f351093664c118c52b0dc95a2db0480c71..2b2b63df51b05ff6da043054ac63061869aad83f 100644 (file)
 
 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
  */
index 09e0be10435a5c1c6061abb16d336b0c537f4ac1..fca62cd657c302da777a904e896b58f9d371c966 100644 (file)
@@ -15,7 +15,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