[PATCH V2] arm: mxs: get MAC from OCOTP for MX28EVK

Wolfram Sang w.sang at pengutronix.de
Thu Jun 14 10:17:30 EDT 2012


On Thu, Jun 14, 2012 at 04:10:16PM +0200, Sascha Hauer wrote:
> On Thu, Jun 14, 2012 at 03:13:03PM +0200, Wolfram Sang wrote:
> > Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
> > ---
> > 
> > V2: rewrote code according to Sascha's style guide ;)
> > 
> >  arch/arm/boards/freescale-mx28-evk/mx28-evk.c |   30 +++++++++++++++++++++++--
> >  arch/arm/mach-mxs/Kconfig                     |    1 +
> >  2 files changed, 29 insertions(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm/boards/freescale-mx28-evk/mx28-evk.c b/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> > index 9168ed8..fc395a0 100644
> > --- a/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> > +++ b/arch/arm/boards/freescale-mx28-evk/mx28-evk.c
> > @@ -22,17 +22,18 @@
> >  #include <init.h>
> >  #include <mci.h>
> >  #include <io.h>
> > +#include <net.h>
> >  
> >  #include <mach/clock.h>
> >  #include <mach/imx-regs.h>
> >  #include <mach/iomux-imx28.h>
> >  #include <mach/mci.h>
> > +#include <mach/fb.h>
> > +#include <mach/ocotp.h>
> >  
> >  #include <asm/armlinux.h>
> >  #include <asm/mmu.h>
> >  
> > -#include <mach/fb.h>
> > -
> >  #include <generated/mach-types.h>
> >  
> >  #define MX28EVK_FEC_PHY_RESET_GPIO	141
> > @@ -118,6 +119,27 @@ static struct mxs_mci_platform_data mci_pdata = {
> >  };
> >  
> >  /* fec */
> > +void mx28_evk_get_ethaddr(void)
> 
> static?

Yes :/

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20120614/bc62595f/attachment.sig>


More information about the barebox mailing list