Skip to content
Snippets Groups Projects
  1. May 18, 2020
  2. May 10, 2020
    • Ye Li's avatar
      net: Add eth phy generic driver for shared MDIO · 5fe419ef
      Ye Li authored and Stefano Babic's avatar Stefano Babic committed
      
      For dual ethernet controllers, the HW design may connect ETH phys to
      one MDIO ports. So two different ethernet drivers have to share MDIO bus.
      Since two ethernet drivers are independent, we can't ensure their probe
      order.
      
      To resolve this problem, introduce an eth phy generic driver and uclass.
      
      After eth-uclass binds, we search the mdio node and binds the phy node
      with the eth-phy-generic driver.
      
      When one eth driver get its phy device, the parent of phy device will
      probe prior than phy device. So this ensure the eth driver ownes the
      MDIO bus will be probed before using its MDIO.
      
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Signed-off-by: Peng Fan's avatarPeng Fan <peng.fan@nxp.com>
      5fe419ef
    • Peng Fan's avatar
      net: eth-uclass: add return value check · d2b70205
      Peng Fan authored and Stefano Babic's avatar Stefano Babic committed
      
      Add return value check
      
      Signed-off-by: Peng Fan's avatarPeng Fan <peng.fan@nxp.com>
      d2b70205
  3. Apr 27, 2020
  4. Apr 06, 2020
  5. Mar 09, 2020
  6. Feb 13, 2020
  7. Feb 06, 2020
    • Simon Glass's avatar
      dm: core: Create a new header file for 'compat' features · 336d4615
      Simon Glass authored
      
      At present dm/device.h includes the linux-compatible features. This
      requires including linux/compat.h which in turn includes a lot of headers.
      One of these is malloc.h which we thus end up including in every file in
      U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
      which needs to use the system malloc() in some files.
      
      Move the compatibility features into a separate header file.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      336d4615
  8. Jan 24, 2020
  9. Jan 17, 2020
  10. Dec 15, 2019
  11. Dec 09, 2019
  12. Dec 02, 2019
  13. Sep 04, 2019
  14. Aug 11, 2019
Loading