Re: [U-Boot] [PATCH v2 1/2] da850evm: add support to read mac address from SPI flash

2012-02-12 Thread Hadli, Manjunath
Mike, On Sat, Feb 11, 2012 at 03:19:24, Mike Frysinger wrote: > On Friday 10 February 2012 01:22:24 Manjunath Hadli wrote: > > --- a/board/davinci/da8xxevm/da850evm.c > > +++ b/board/davinci/da8xxevm/da850evm.c > > > > +#define CFG_MAC_ADDR_SPI_BUS 0 > > +#define CFG_MAC_ADDR_SPI_CS

Re: [U-Boot] [PATCH v2 1/2] da850evm: add support to read mac address from SPI flash

2012-02-10 Thread Mike Frysinger
On Friday 10 February 2012 01:22:24 Manjunath Hadli wrote: > --- a/board/davinci/da8xxevm/da850evm.c > +++ b/board/davinci/da8xxevm/da850evm.c > > +#define CFG_MAC_ADDR_SPI_BUS 0 > +#define CFG_MAC_ADDR_SPI_CS 0 > +#define CFG_MAC_ADDR_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED > +#define CFG_MAC_AD

[U-Boot] [PATCH v2 1/2] da850evm: add support to read mac address from SPI flash

2012-02-09 Thread Manjunath Hadli
add support to read mac address for da850/L138 evm manufactured by Logic PD which store mac address in SPI flash manufactured by ST Microelectronics. This patch adds support to read mac address from SPI flash and set the mac address if it hasn't been set in environment, If it has been set in the en