[U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4
ksi at koi8.net
ksi at koi8.net
Wed Feb 18 19:51:18 CET 2009
On Wed, 18 Feb 2009, Wolfgang Denk wrote:
> Dear Heiko Schocher,
>
> In message <499BB9C6.6010602 at denx.de> you wrote:
> >
> > > You convinced me. This code must not be used before relocation to RAM,
> > > then.
> >
> > But is is possible to use that code when running from flash, if
> > this current pointer is writeable ...
>
> Yes, it is possible, but then - ther eis no need for it.
>
> > > Yes, it is, because none of them needs any such switching before
> > > relocation. And switching is really simple so far.
> >
> > They use it before relocation, because the DTTs are read before relocation.
>
> I am not aware that any piece of code in the init sequence makes use
> of the information read from the DTT's, so why is this performaned
> before relocation?
>
> More - why is this performed at all for each reset cycle? Normally we
> should not even initialize interfaces that are nt used for U-Boot's
> own operation.
>
> I think the automatic DTT checking should be dropped.
Exactly.
At least it must be postponed until relocation is done. There is nothing
required for relocation in DTT.
---
******************************************************************
* KSI at home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************
More information about the U-Boot
mailing list