[U-Boot] [PATCH] board_f: explicitly disable console on early boot

Alexey Brodkin Alexey.Brodkin at synopsys.com
Thu Nov 28 10:55:01 CET 2013


On Wed, 2013-11-27 at 18:43 -0700, Simon Glass wrote:


> I have a similar patch locally, but it actually does memset() on the
> whole structure. Some archs handle this setup differently. For example
> both ARM and x86 now allocate it in low level code so there is no need
> for the board_f code to allocate a global data structure.
> 

Another approach would be to move "zero_global_data" from
"init_sequence_f" to the very beginning of "board_init_f" right after
global data allocation.

But IMHO it is a bit more significant modification so I decided to start
from the simplest fix that resolves a particular issue I see.

-Alexey



More information about the U-Boot mailing list