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>
master
Ilya Yanok 13 years ago committed by Albert ARIBAUD
parent e0297a5599
commit b88befa550
  1. 2
      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];

Loading…
Cancel
Save