diff options
| author | Marek Vasut <[email protected]> | 2014-12-30 21:29:35 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2015-03-04 23:07:04 +0100 |
| commit | 7287d5f091c97a38a8820b45aaee123d6bbef12f (patch) | |
| tree | a4f717e4922f6ca22fa3685cafc08f39f55da327 | |
| parent | 758be453dec8f29cf2b70a54be2bc178e097797c (diff) | |
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 <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Acked-by: Stefan Roese <[email protected]>
Cc: Vince Bridgers <[email protected]>
| -rw-r--r-- | board/altera/socfpga/socfpga.c | 9 | ||||
| -rw-r--r-- | include/configs/socfpga_common.h | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/board/altera/socfpga/socfpga.c b/board/altera/socfpga/socfpga.c index 459d82f3510..2b2b63df51b 100644 --- a/board/altera/socfpga/socfpga.c +++ b/board/altera/socfpga/socfpga.c @@ -19,15 +19,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 */ int board_early_init_f(void) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index ee227fef0f4..59b7f218a45 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 |
