From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 18 Feb 2009 09:15:24 +0100 Subject: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4 In-Reply-To: <20090218080653.CC4D8832E43F@gemini.denx.de> References: <499548C2.7060305@denx.de> <49967FAC.6090905@denx.de> <20090216221151.08966832E893@gemini.denx.de> <20090217224940.02BC6832E893@gemini.denx.de> <499BB9C6.6010602@denx.de> <20090218080653.CC4D8832E43F@gemini.denx.de> Message-ID: <499BC39C.9050509@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 Hello Wolfgang, Wolfgang Denk wrote: > Dear Heiko Schocher, > > In message <499BB9C6.6010602@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. For what is no need? >>> 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? Thats I am asking me too. > 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. Yes, I think so too. If nobody screams, I can make such a patch ... (This will solve another problem from me ... :-) bye Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany