summaryrefslogtreecommitdiff
path: root/board/freescale/m5329evb/mii.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/m5329evb/mii.c')
-rw-r--r--board/freescale/m5329evb/mii.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/m5329evb/mii.c b/board/freescale/m5329evb/mii.c
index 691b144..68dc04f 100644
--- a/board/freescale/m5329evb/mii.c
+++ b/board/freescale/m5329evb/mii.c
@@ -203,7 +203,9 @@ int mii_discover_phy(struct eth_device *dev)
}
#endif /* CFG_DISCOVER_PHY */
-void mii_init(void)
+int mii_init(void) __attribute__((weak,alias("__mii_init")));
+
+void __mii_init(void)
{
volatile fec_t *fecp;
struct fec_info_s *info;