[U-Boot] [PATCH v2 13/22] dm: pci: Add a uclass for PCI

Simon Glass sjg at chromium.org
Sat Mar 21 00:16:11 CET 2015


On 5 March 2015 at 12:25, Simon Glass <sjg at chromium.org> wrote:
> 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 <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  common/board_r.c              |   2 +
>  common/cmd_pci.c              |  14 +-
>  doc/driver-model/pci-info.txt |  70 +++++
>  drivers/pci/Kconfig           |  12 +
>  drivers/pci/Makefile          |   8 +-
>  drivers/pci/pci-uclass.c      | 639 ++++++++++++++++++++++++++++++++++++++++++
>  drivers/pci/pci_auto.c        |  16 +-
>  drivers/pci/pci_compat.c      |  43 +++
>  include/dm/uclass-id.h        |   2 +
>  include/pci.h                 | 289 ++++++++++++++++++-
>  10 files changed, 1081 insertions(+), 14 deletions(-)
>  create mode 100644 doc/driver-model/pci-info.txt
>  create mode 100644 drivers/pci/pci-uclass.c
>  create mode 100644 drivers/pci/pci_compat.c

Applied to u-boot-dm/next.


More information about the U-Boot mailing list