[U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices
Sergei Shtylyov
sshtylyov at mvista.com
Thu Sep 30 17:04:53 CEST 2010
Hello.
Peter Tyser wrote:
>>>> +#ifdef I2C_ADDR_IGNORE_LIST
>>>> + unsigned char i2c_ignore_list[] = I2C_ADDR_IGNORE_LIST;
>>> This array is aking to be *static*...
>> ... and *const* as well ?
> I'll add 'const' in the next version, but I'm not sure if the 'static'
> adds any benefit since its a local variable.
Have you considered the amount of code needed for non-static array
initialization?
WBR, Sergei
More information about the U-Boot
mailing list