Alexey Brodkin 9aed5a2777 board_f: explicitly disable console on early boot
If U-Boot build with DEBUG enabled/defined the first call of "debug"
function (that dumps data to any available console) will happen before
zeroing of initial "gd" in init call "zero_global_data" in
"init_sequence_f".

And if stack was not filled with zeros chances are high that
"gd->have_console" won't be 0. In its turn it will cause attempt to
output things to non-initialized yet serial console.

So for safety and predictability we set "gd->have_console = 0".

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

Cc: Mischa Jonker <mjonker@synopsys.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
2013-12-13 09:17:32 -05:00
..
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2013-12-13 09:17:32 -05:00
2011-04-08 00:44:27 -04:00
2013-08-16 13:45:15 -04:00
2013-11-08 15:25:14 -05:00
2013-05-31 17:12:03 -05:00
2013-11-04 11:24:22 -05:00
2012-08-09 23:39:18 +02:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2013-08-06 23:58:43 +05:30
2011-12-07 08:41:22 +01:00
2013-09-20 10:30:54 -04:00
2013-09-20 10:30:54 -04:00
2013-09-20 10:30:54 -04:00
2010-01-18 00:23:00 +01:00
2013-11-12 09:35:17 +01:00
2011-10-22 01:13:35 +02:00
2013-11-25 10:41:54 -05:00