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 if CONFIG_SPL_CONSOLE is defined.
Signed-off-by: Ilya Yanok <ya...@emcraft.com> --- arch/arm/cpu/armv7/omap-common/spl.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index f28411b..3d3e95c 100644 --- a/arch/arm/cpu/armv7/omap-common/spl.c +++ b/arch/arm/cpu/armv7/omap-common/spl.c @@ -152,6 +152,10 @@ void preloader_console_init(void) serial_init(); /* serial communications setup */ +#ifdef CONFIG_SPL_CONSOLE + gd->have_console = 1; +#endif + /* Avoid a second "U-Boot" coming from this string */ u_boot_rev = &u_boot_rev[7]; -- 1.7.6.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot