Dear Simon,

In message <capnjgz2prhue3htw__maybrma3ofz3p1k9d49rzatur9g5x...@mail.gmail.com> 
you wrote:
>
> The duplication existed before generic board (i.e. each arch had its own
> baudrate in global_data). I believe the reason for it being in bd_t is that
> it can be passed to the kernel in that structure on some archs. So removing
> it there may break some boards.

Correct. In some (really old) kernel versions this was the way to pass
this information to the kernel, so we neede dit there.

> I suspect the reason it is in global_data is that the bd_t  structure
> doesn't exist until some time after the console is started up, so it
> wouldn't be possible to do serial output otherwise.

Also correct.

Thanks!

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Always borrow money from a pessimist; they don't expect  to  be  paid
back.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to