summaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2011-07-14 11:43:52 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:58:57 -0700
commita5d5c968ddb4dc1d7339d2379b0a8a2f95891a03 (patch)
tree3d8c6fa8abf2c111ac3a7b38f443fd6f850ed521 /arch/arm/lib
parente8dec207c28ddd16877d2c04ad725b9f3d944854 (diff)
Fix displaying board name when CONFIG_OF_CONTROL is not defined
BUG=None TEST=Build and boot on Seaboard Change-Id: I59319fff6bc9f4d41fd67ff5202349130880d518 Reviewed-on: http://gerrit.chromium.org/gerrit/4101 Reviewed-by: Anton Staaf <robotboy@chromium.org> Tested-by: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/board.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index e4c0d62f33c..2aaf8852fdb 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -49,7 +49,6 @@
#include <nand.h>
#include <onenand_uboot.h>
#include <mmc.h>
-#include <fdt_decode.h>
#ifdef CONFIG_BITBANGMII
#include <miiphy.h>
@@ -612,13 +611,8 @@ void board_init_r (gd_t *id, ulong dest_addr)
console_init_r (); /* fully init console as a device */
-#ifdef CONFIG_DISPLAY_BOARDINFO_LATE
-# ifdef CONFIG_OF_CONTROL
- /* Put this here so it appears on the LCD, now it is ready */
- printf("Model: %s\n", fdt_decode_get_model(gd->blob));
-# else
+#if defined(CONFIG_DISPLAY_BOARDINFO_LATE)
checkboard();
-# endif
#endif
#if defined(CONFIG_ARCH_MISC_INIT)