dm: sandbox: pci: Add a PCI emulation uclass
authorSimon Glass <sjg@chromium.org>
Thu, 5 Mar 2015 19:25:28 +0000 (12:25 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Apr 2015 01:27:43 +0000 (19:27 -0600)
commit36d0d3b4b4974f4183609ac8b4d77a1f46acba55
tree859816b8b1c7b1c755ab2853a7736287bf9eab5d
parent537849aaa1b8f90d99f4c31a2945ab0b817aa599
dm: sandbox: pci: Add a PCI emulation uclass

Since sandbox does not have real devices (unless it borrows those from the
host) it must use emulations. Provide a uclass which permits PCI operations
to be passed through to an emulation device.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pci/Makefile
drivers/pci/pci-emul-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/pci.h