[PATCH] ARM: imx6: init enet MAC address

Shawn Guo shawn.guo at freescale.com
Tue May 20 23:46:44 PDT 2014


On Tue, May 20, 2014 at 05:24:01PM +0800, Duan Fugang-B38611 wrote:
> >> +#define OCOTP_MACn(n)		(0x00000620 + (n) * 0x10)
> >> +#define IMX_MAX_ENET_NUM	2
> >> +void __init imx6_enet_mac_init(const char *compatible)
> >
> >static
> >
> The .fun() will be called for imx6sl, imx6sx(the latest chip) machine files.

Then, it shouldn't be put in mach-imx6q.c which will be built only when
CONFIG_SOC_IMX6Q is enabled.

Shawn



More information about the linux-arm-kernel mailing list