summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-05 12:25:28 -0700
committerSimon Glass <sjg@chromium.org>2015-04-16 19:27:43 -0600
commit36d0d3b4b4974f4183609ac8b4d77a1f46acba55 (patch)
tree859816b8b1c7b1c755ab2853a7736287bf9eab5d /include/dm
parent537849aaa1b8f90d99f4c31a2945ab0b817aa599 (diff)
downloadu-boot-imx-36d0d3b4b4974f4183609ac8b4d77a1f46acba55.zip
u-boot-imx-36d0d3b4b4974f4183609ac8b4d77a1f46acba55.tar.gz
u-boot-imx-36d0d3b4b4974f4183609ac8b4d77a1f46acba55.tar.bz2
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>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index b984407..0b6e850 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -20,6 +20,7 @@ enum uclass_id {
UCLASS_TEST_BUS,
UCLASS_SPI_EMUL, /* sandbox SPI device emulator */
UCLASS_I2C_EMUL, /* sandbox I2C device emulator */
+ UCLASS_PCI_EMUL, /* sandbox PCI device emulator */
UCLASS_SIMPLE_BUS,
/* U-Boot uclasses start here */