[U-Boot] [Question] Driver-Model UART on NOR-boot ? Work?

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Oct 2 07:18:36 CEST 2014


Hi Simon,



On Wed, 1 Oct 2014 17:43:19 -0600
Simon Glass <sjg at chromium.org> wrote:

> 
> >
> > > The pre-reloc malloc() area goes below global_data so uses the same mechanism.
> > >
> > > Yes it is true that strictly speaking we should not use data before
> > > relocation. I suppose we could move cur_dev to global_data instead for
> > > this particular case. It doesn't really scale to other drivers, but
> > > then I expect that only serial needs to keep a 'current' pointer
> > > before relocation, and even that will eventually go away once the
> > > serial stuff is cleaned up.



Do you expect any other drivers that must be bound before relocation?
(except DEMO driver of sandbox)

Only UART?



Best Regards
Masahiro Yamada



More information about the U-Boot mailing list