]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00161617_1 [MX6] : Get FEC MAC addr from the shadow reg.
authorFugang Duan <B38611@freescale.com>
Wed, 23 Nov 2011 06:21:48 +0000 (14:21 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:31 +0000 (08:33 +0200)
- Correct FEC to get the default MAC address from OCOTP
  shadow reg.

Signed-off-by: Fugang Duan <B38611@freescale.com>
arch/arm/mach-mx6/mx6_fec.c

index 32e8583553908d8e6c88f4d2c62619ffad7649a8..b2aa45b3c510ef7e8d2f9e1f02218bcc8c4d8284 100644 (file)
@@ -25,7 +25,7 @@
 #include <asm/mach/arch.h>
 #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)
 {