]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/mx6/soc.c
karo: txul: read second mac address from fuses
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / mx6 / soc.c
index 784af734a0467af10cd257669201193dea664ead..314f29463b0bf26d0a83da4ba06d078022195b87 100644 (file)
@@ -555,7 +555,7 @@ void enable_caches(void)
 #endif
 
 #if defined(CONFIG_FEC_MXC)
-void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
+__weak void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
 {
        unsigned int mac0, mac1;
 
@@ -583,6 +583,8 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
                mac[5] = mac1 >> 16;
        }
 }
+
+//void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) __attribute__((weak("__imx_get_mac_from_fuse")));
 #endif
 
 void boot_mode_apply(unsigned cfg_val)