07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

19 Jan, 2017

1 commit

  • for the legacy PCI driver, the function pci_bus_to_hose() returns
    the real PCIe controller. To keep consistency, this function is
    changed to return the PCIe controller pointer of the root bus
    instead of the current PCIe bus.

    Signed-off-by: Minghuan Lian
    Signed-off-by: Hou Zhiqiang
    Reviewed-by: Simon Glass
    Reviewed-by: Bin Meng
    Reviewed-by: York Sun

    Minghuan Lian
     

24 Jan, 2016

1 commit


13 Jan, 2016

1 commit

  • Most driver model PCI functions have a dm_ prefix. At some point, when the
    old code is converted to driver model and the old functions are removed, we
    will drop that prefix.

    For consistency, we should use the dm_ prefix for all driver model
    functions. Update pci_get_bdf() accordingly.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     

06 Aug, 2015

1 commit


22 Jul, 2015

1 commit


17 Apr, 2015

1 commit

  • Add a uclass for PCI controllers and a generic one for PCI devices. Adjust
    the 'pci' command and the existing PCI support to work with this new uclass.
    Keep most of the compatibility code in a separate file so that it can be
    removed one day.

    TODO: Add more header file comments to the new parts of pci.h

    Signed-off-by: Simon Glass

    Simon Glass