
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