From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 2 Feb 2013 12:05:02 +0100 Subject: [U-Boot] Problem with ll_entry_* before relocation In-Reply-To: <201302011000.56055.marex@denx.de> References: <510B90AE.4040409@denx.de> <201302011000.56055.marex@denx.de> Message-ID: <20130202120502.2898b369@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marek, On Fri, 1 Feb 2013 10:00:55 +0100, Marek Vasut wrote: > Dear Heiko Schocher, > > > Hello, > > > > I am currently trying to get rid of some externs in the new i2c > > multibus approach, specially this externs: > > > > http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=blob;f=drivers/i2c/i2c_core.c > > ;h=2a559c9d81a945f219eab49d11e70c0ac4a6d6a4;hb=83ffd31c590dd5aedfef0c195b1f > > fc406e6d0e37#l31 > > > > I tried to use the ll_entry_* defines see: > > include/linker_lists.h > > so the compiler will collect all i2c adapter(s), and no > > need to declare in the config file a list of used adapters. > > This approach works fine for using i2c after relocation, but > > did not work before, which is a must have for i2c ... > > Therefore I describe (Sorry, for the long EMail) here, whats > > I see on an arm926ejs based board, using eldk 5.2 with > > Albert has a patch for that, CCed. II will send out the patch this afternoon; before 14:00 GMT+1 if I'm lucky, around 17:00 GMT+1 if not. > Best regards, > Marek Vasut Amicalement, -- Albert.