summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2011-11-01 13:16:03 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:23 +0100
commitb88befa550c2eaf315c01648f0472634ead6abac (patch)
tree881a711651a9846707ecab5b27968d6d37e69205 /arch/arm/cpu
parente0297a5599c0eab00910006b788f72058efb5b1e (diff)
downloadu-boot-imx-b88befa550c2eaf315c01648f0472634ead6abac.zip
u-boot-imx-b88befa550c2eaf315c01648f0472634ead6abac.tar.gz
u-boot-imx-b88befa550c2eaf315c01648f0472634ead6abac.tar.bz2
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>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/omap-common/spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c
index d37ca0f..2c59d2b 100644
--- a/arch/arm/cpu/armv7/omap-common/spl.c
+++ b/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];