[U-Boot] [PATCH] overo: add SPL support

Wolfgang Denk wd at denx.de
Tue Dec 20 13:06:07 CET 2011


Dear Andreas,

In message <201112201253.46991.schnitzeltony at gmx.de> you wrote:
>
> I agree to your concerns but - as I understood Steve Sakoman - here the 
> situation is slightly different: 

I think you misunderstand.

> At elder overo boards TWL4030 RTC irq is connected to gpio112. Unfortunately 
> this pin is also used for binary revision detection. Therefore we need to send 
> 'shut-up' to TWL4030 via i2c to avoid reading wrong revision. In SPL this must 
> be done *before* SDRAM (timing) is set up, because the type of SDRAM is 
> revision dependent.

My suggestion was to check if memory initialization can not rather be
done _without_ reading (and without otherwise knowing) the board type
or revision.  Usually this is possible, and I always prefer such
auto-adjusting solutions over hard-wired approaches that break down
when any of the expected inout data is not correct or not available.

Best regards,

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: wd at denx.de
We are Microsoft. Unix is irrelevant. Openness is futile.  Prepare to
be assimilated.


More information about the U-Boot mailing list