omap/spl: actually enable the console
authorIlya Yanok <yanok@emcraft.com>
Tue, 1 Nov 2011 13:16:03 +0000 (13:16 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:23 +0000 (22:56 +0100)
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>
arch/arm/cpu/armv7/omap-common/spl.c

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