[U-Boot] [PATCH] add dm9000 eeprom read/write command
Eric Jarrige
eric.jarrige at armadeus.org
Tue Aug 23 07:15:25 CEST 2011
Hi Mike,
On 22 août 2011, at 23:55, Mike Frysinger wrote:
> On Monday, August 22, 2011 17:37:42 Eric Jarrige wrote:
>> +#if (!defined(CONFIG_DM9000_NO_SROM) && defined(CONFIG_DRIVER_DM9000))
>
> why is this necessary ?
> -mike
the methods dm9000_read_srom_word()/dm9000_write_srom_word() need these conditions to be compiled in dm9000x.c
Therefore this avoid dead code and/or compilation failure if these conditions are not met.
Best regards,
Eric
More information about the U-Boot
mailing list