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

keystone_net.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Khoronzhuk, Ivan's avatar
      497e9e03
      net: keystone_net: remove redundant code from keystone_net.c · 497e9e03
      Khoronzhuk, Ivan authored
      
      Remove unused tx_send_loop variable.
      
      Removes duplicated get_link_status() call from the
      keystone2_eth_send_packet().
      
      The emac_gigabit_enable() is called at opening Ethernet and there is no
      need to enable it on sending each packet. So remove that call
      from keystone2_eth_send_packet() as well.
      
      The calling of power/clock up functions are mostly the responsibility
      of SoC/board code, so move these functions to appropriate place.
      
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
      497e9e03
      History
      net: keystone_net: remove redundant code from keystone_net.c
      Khoronzhuk, Ivan authored
      
      Remove unused tx_send_loop variable.
      
      Removes duplicated get_link_status() call from the
      keystone2_eth_send_packet().
      
      The emac_gigabit_enable() is called at opening Ethernet and there is no
      need to enable it on sending each packet. So remove that call
      from keystone2_eth_send_packet() as well.
      
      The calling of power/clock up functions are mostly the responsibility
      of SoC/board code, so move these functions to appropriate place.
      
      Signed-off-by: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>