dm: sandbox: pci: Add a PCI emulation uclass
[oweals/u-boot.git] / drivers / pci / Kconfig
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..167d405918400b39edc3621edac6338257a38e1c 100644 (file)
@@ -0,0 +1,22 @@
+menu "PCI"
+
+config DM_PCI
+       bool "Enable driver mode for PCI"
+       depends on DM
+       help
+         Use driver model for PCI. Driver model is the new method for
+         orgnising devices in U-Boot. For PCI, driver model keeps track of
+         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