diff options
| author | Ramon Fried <[email protected]> | 2019-04-27 11:15:23 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-07-11 10:05:15 -0400 |
| commit | bb413337826ef1a1445ff9fb33424fd231430228 (patch) | |
| tree | 4011c3b978604d2b39427500c83a589a64d5dbe7 /arch | |
| parent | c2ccc9e5cb9ac5547e063bc2bf35f6340b8f9362 (diff) | |
pci_ep: add pci endpoint sandbox driver
Add a dummy PCI endpoint for sandbox.
Supporting only a single function, it allows setting
and reading header configuration.
Signed-off-by: Ramon Fried <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/Kconfig | 2 | ||||
| -rw-r--r-- | arch/sandbox/dts/test.dts | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 28afe398016..355d2145223 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -90,6 +90,7 @@ config SANDBOX select DM_SPI_FLASH select HAVE_BLOCK_DEVICE select LZO + select PCI_ENDPOINT select SPI select SUPPORT_OF_CONTROL imply BITREVERSE @@ -120,6 +121,7 @@ config SANDBOX imply VIRTIO_BLK imply VIRTIO_NET imply DM_SOUND + imply PCI_SANDBOX_EP imply PCH config SH diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index c328258901a..a7a566c0d8b 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -487,6 +487,10 @@ }; }; + pci_ep: pci_ep { + compatible = "sandbox,pci_ep"; + }; + probing { compatible = "simple-bus"; test1 { |
