
Dear Andreas,
In message 201112201253.46991.schnitzeltony@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