[U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

Sergei Shtylyov
2010-09-30T15:04:53Z

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