diff options
author | Simon Glass | 2015-03-05 12:25:27 -0700 |
---|---|---|
committer | Simon Glass | 2015-04-16 19:27:43 -0600 |
commit | 537849aaa1b8f90d99f4c31a2945ab0b817aa599 (patch) | |
tree | a7fa642fcdab8c17c73de18d73e9aaa04473b9fa /drivers/pci/Kconfig | |
parent | 9569c40668290408eac447f9be99dab603c8e34c (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/Kconfig | 10 |
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 |