mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 15:27:00 +00:00
ARM: imx6: fix wrong fec clk
imx_get_fecclk() returns enet_ref instead of ipg. Since the clock is used to calculate the prescaler for the MDIO interface wrong values can be calculated. Tested on a custom MX6S board with 100MBit interface Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
This commit is contained in:
parent
bb01956344
commit
adadc915b3
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ u32 imx_get_uartclk(void)
|
|||
|
||||
u32 imx_get_fecclk(void)
|
||||
{
|
||||
return decode_pll(PLL_ENET, MXC_HCLK);
|
||||
return mxc_get_clock(MXC_IPG_CLK);
|
||||
}
|
||||
|
||||
static int enable_enet_pll(uint32_t en)
|
||||
|
|
Loading…
Add table
Reference in a new issue