MLK-12791 mx6qpsabresd: Change ENET TXCLK clock from PLL
authorYe Li <ye.li@nxp.com>
Mon, 16 May 2016 06:04:53 +0000 (14:04 +0800)
committerYe Li <ye.li@nxp.com>
Wed, 5 Apr 2017 06:04:43 +0000 (14:04 +0800)
commit4976f8f1adc5518135f663ef33991151be9d5067
treef20c98e7e39f0e2481d3afab50826c3e17e1eea8
parent2906317e68d2f5a9ff75b43c1b54c768098fa7f2
MLK-12791 mx6qpsabresd: Change ENET TXCLK clock from PLL

In u-boot, i.MX6QP sabresd board uses 125Mhz ref clock from PHY,
While kernel uses the clock from internal PLL by setting GPR5 bit 9.
When doing warm reset in kernel, the GPR regigster is not reset, so
the clock source still is the PLL. This causes ENET in u-boot can't work.

In this patch, we change the u-boot to use internal PLL to align with
kernel for i.MX6QP. This also fixes the ENET issue after kernel warm reset.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 7f00c72e17e4e440df62aa4945a619fdbc9cfd8f)
board/freescale/mx6sabresd/mx6sabresd.c