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>
This commit is contained in:
Ilya Yanok 2011-11-01 13:16:03 +00:00 committed by Albert ARIBAUD
parent e0297a5599
commit b88befa550

View file

@ -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];