Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

4xx_enet.c

Forked from Reform / reform-boundary-uboot
49548 commits behind the upstream repository.
  • Felix Radensky's avatar
    0c24dec5
    ppc4xx/net: Fix MDIO clock setup · 0c24dec5
    Felix Radensky authored
    
    This patch fixes MDIO clock setup in case when OPB frequency is 100MHz.
    Current code assumes that the value of sysinfo.freqOPB is 100000000
    when OPB frequency is 100MHz. In reality it is 100000001. As a result
    MDIO clock is set to incorrect value, larger than 2.5MHz, thus violating
    the standard. This in not a problem on boards equipped with Marvell PHYs
    (e.g. Canyonlands), since those PHYs support MDIO clocks up to 8.3MHz,
    but can be a problem for other PHYs (e.g. Realtek ones).
    
    Signed-off-by: default avatarFelix Radensky <felix@embedded-sol.com>
    Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
    0c24dec5
    History
    ppc4xx/net: Fix MDIO clock setup
    Felix Radensky authored
    
    This patch fixes MDIO clock setup in case when OPB frequency is 100MHz.
    Current code assumes that the value of sysinfo.freqOPB is 100000000
    when OPB frequency is 100MHz. In reality it is 100000001. As a result
    MDIO clock is set to incorrect value, larger than 2.5MHz, thus violating
    the standard. This in not a problem on boards equipped with Marvell PHYs
    (e.g. Canyonlands), since those PHYs support MDIO clocks up to 8.3MHz,
    but can be a problem for other PHYs (e.g. Realtek ones).
    
    Signed-off-by: default avatarFelix Radensky <felix@embedded-sol.com>
    Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>