diff options
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 7c9258b..ee796bc 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -802,6 +802,16 @@ int overwrite_console(void) int board_eth_init(bd_t *bis) { + if (is_mx6dqp()) { + int ret; + + /* select ENET MAC0 TX clock from PLL */ + imx_iomux_set_gpr_register(5, 9, 1, 1); + ret = enable_fec_anatop_clock(0, ENET_125MHZ); + if (ret) + printf("Error fec anatop clock settings!\n"); + } + setup_iomux_enet(); return cpu_eth_init(bis); |