浏览代码

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 年之前
父节点
当前提交
b88befa550
共有 1 个文件被更改,包括 2 次插入0 次删除
  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];