From: Wolfgang Denk Date: Tue, 20 Dec 2011 13:06:07 +0100 Subject: [U-Boot] [PATCH] overo: add SPL support In-Reply-To: <201112201253.46991.schnitzeltony@gmx.de> References: <201112151534.31626.schnitzeltony@gmx.de> <20111220114108.3B165131B071@gemini.denx.de> <201112201253.46991.schnitzeltony@gmx.de> Message-ID: <20111220120607.DFE65131B071@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- 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.