aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorRamon Fried <ramon.fried@gmail.com>2019-04-27 11:15:23 +0300
committerTom Rini <trini@konsulko.com>2019-07-11 10:05:15 -0400
commitbb413337826ef1a1445ff9fb33424fd231430228 (patch)
tree4011c3b978604d2b39427500c83a589a64d5dbe7 /arch/sandbox
parentc2ccc9e5cb9ac5547e063bc2bf35f6340b8f9362 (diff)
downloadu-boot-bb413337826ef1a1445ff9fb33424fd231430228.zip
u-boot-bb413337826ef1a1445ff9fb33424fd231430228.tar.gz
u-boot-bb413337826ef1a1445ff9fb33424fd231430228.tar.bz2
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 <ramon.fried@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index c328258..a7a566c 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 {