06 Feb, 2020

2 commits

  • 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

    Simon Glass
     
  • At present devres.h is included in all files that include dm.h but few
    make use of it. Also this pulls in linux/compat which adds several more
    headers. Drop the automatic inclusion and require files to include devres
    themselves. This provides a good indication of which files use devres.

    Signed-off-by: Simon Glass
    Reviewed-by: Anatolij Gustschin

    Simon Glass
     

16 Jan, 2020

2 commits


11 Oct, 2019

1 commit

  • The driver provides PHY for USB2, USB3.0, PCIe and SATA, and now
    we just enable PCIe. As for the other functionalities will be
    added gradually in upcoming days.

    This is adapted from the Linux version.

    Tested-by: Frank Wunderlich
    Signed-off-by: Ryder Lee
    Signed-off-by: Frank Wunderlich

    Ryder Lee