aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/Kconfig
diff options
context:
space:
mode:
authorSimon Glass2015-03-05 12:25:27 -0700
committerSimon Glass2015-04-16 19:27:43 -0600
commit537849aaa1b8f90d99f4c31a2945ab0b817aa599 (patch)
treea7fa642fcdab8c17c73de18d73e9aaa04473b9fa /drivers/pci/Kconfig
parent9569c40668290408eac447f9be99dab603c8e34c (diff)
dm: sandbox: Add a simple PCI driver
Add a driver which can access emulations of devices and make them available in sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r--drivers/pci/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 8b7e2ee6b0a..167d4059184 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -9,4 +9,14 @@ config DM_PCI
available PCI devices, allows scanning of PCI buses and provides
device configuration support.
+config PCI_SANDBOX
+ bool "Sandbox PCI support"
+ depends on SANDBOX && DM_PCI
+ help
+ Support PCI on sandbox, as an emulated bus. This permits testing of
+ PCI feature such as bus scanning, device configuration and device
+ access. The available (emulated) devices are defined statically in
+ the device tree but the normal PCI scan technique is used to find
+ then.
+
endmenu