diff options
author | Tom Rini <trini@konsulko.com> | 2015-10-02 09:38:44 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-02 09:38:44 -0400 |
commit | b8d242121dd3c8c418751c37e6f7157cf6428dbf (patch) | |
tree | 53f1fc557eff2989a27402b7dd226949fd61533f /arch/arm/cpu/armv7 | |
parent | 4bbc08f2ecdd16d38f933f202fb1a711fb30d880 (diff) | |
parent | 7daaac5281db0788cde895a0add38ad5195b5be1 (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c index ba6cc75a7b..11efd12c9a 100644 --- a/arch/arm/cpu/armv7/mx6/clock.c +++ b/arch/arm/cpu/armv7/mx6/clock.c @@ -535,6 +535,8 @@ int enable_fec_anatop_clock(int fec_id, enum enet_freq freq) if (freq < ENET_25MHZ || freq > ENET_125MHZ) return -EINVAL; + reg = readl(&anatop->pll_enet); + if (fec_id == 0) { reg &= ~BM_ANADIG_PLL_ENET_DIV_SELECT; reg |= BF_ANADIG_PLL_ENET_DIV_SELECT(freq); |