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 năm trước cách đây
mục cha
commit
b88befa550
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 */
 
+	gd->have_console = 1;
+
 	/* Avoid a second "U-Boot" coming from this string */
 	u_boot_rev = &u_boot_rev[7];