From: Fugang Duan Date: Wed, 23 Nov 2011 06:21:48 +0000 (+0800) Subject: ENGR00161617_1 [MX6] : Get FEC MAC addr from the shadow reg. X-Git-Tag: v3.0.35-fsl_4.1.0~2006 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=09e5111fe71c52acdeca3924e378f426250ce56f;p=karo-tx-linux.git ENGR00161617_1 [MX6] : Get FEC MAC addr from the shadow reg. - Correct FEC to get the default MAC address from OCOTP shadow reg. Signed-off-by: Fugang Duan --- diff --git a/arch/arm/mach-mx6/mx6_fec.c b/arch/arm/mach-mx6/mx6_fec.c index 32e858355390..b2aa45b3c510 100644 --- a/arch/arm/mach-mx6/mx6_fec.c +++ b/arch/arm/mach-mx6/mx6_fec.c @@ -25,7 +25,7 @@ #include #include "devices-imx6q.h" -#define HW_OCOTP_MACn(n) (0x00000250 + (n) * 0x10) +#define HW_OCOTP_MACn(n) (0x00000620 + (n) * 0x10) static int fec_get_mac_addr(unsigned char *mac) {