[U-Boot] Problem with ll_entry_* before relocation

Albert ARIBAUD albert.u.boot at aribaud.net
Sat Feb 2 12:05:02 CET 2013


Hi Marek,

On Fri, 1 Feb 2013 10:00:55 +0100, Marek Vasut <marex at denx.de> 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.


More information about the U-Boot mailing list