Browse Source

omap/spl: actually enable the console

Currently OMAP SPL code does all the initialization but does not set the
gd->have_console value so no output is actually performed. This patch
sets gd->have_console to 1.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Ilya Yanok 13 years ago
parent
commit
b88befa550
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/arm/cpu/armv7/omap-common/spl.c

+ 2 - 0
arch/arm/cpu/armv7/omap-common/spl.c

@@ -156,6 +156,8 @@ void preloader_console_init(void)
 
 
 	serial_init();		/* serial communications setup */
 	serial_init();		/* serial communications setup */
 
 
+	gd->have_console = 1;
+
 	/* Avoid a second "U-Boot" coming from this string */
 	/* Avoid a second "U-Boot" coming from this string */
 	u_boot_rev = &u_boot_rev[7];
 	u_boot_rev = &u_boot_rev[7];