From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 1 Feb 2013 10:00:55 +0100 Subject: [U-Boot] Problem with ll_entry_* before relocation In-Reply-To: <510B90AE.4040409@denx.de> References: <510B90AE.4040409@denx.de> Message-ID: <201302011000.56055.marex@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 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. Best regards, Marek Vasut