]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: pci: Add a uclass for PCI
authorSimon Glass <sjg@chromium.org>
Thu, 5 Mar 2015 19:25:25 +0000 (12:25 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Apr 2015 01:27:43 +0000 (19:27 -0600)
commitff3e077bd23c37c83d01aad105e528194e33d75e
tree187c45a9cc100b90e9d3dc3cf623178e928f73c1
parentaab6724c90c39e1f599d4ee6354c9f2cf553dc61
dm: pci: Add a uclass for PCI

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@chromium.org>
common/board_r.c
common/cmd_pci.c
doc/driver-model/pci-info.txt [new file with mode: 0644]
drivers/pci/Kconfig
drivers/pci/Makefile
drivers/pci/pci-uclass.c [new file with mode: 0644]
drivers/pci/pci_auto.c
drivers/pci/pci_compat.c [new file with mode: 0644]
include/dm/uclass-id.h
include/pci.h