summaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm
diff options
context:
space:
mode:
authorRamon Fried <ramon.fried@gmail.com>2019-04-27 11:15:24 +0300
committerTom Rini <trini@konsulko.com>2019-07-11 10:05:15 -0400
commitf2a55acfcf7a605f114a45eafa8a349341680f42 (patch)
tree1eab5e03044fc8807934b0237c6a81d5a5fb75a4 /arch/sandbox/include/asm
parentbb413337826ef1a1445ff9fb33424fd231430228 (diff)
test: pci_ep: add basic pci_ep tests
Add basic PCI endpoint sandbox testing. Signed-off-by: Ramon Fried <ramon.fried@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include/asm')
-rw-r--r--arch/sandbox/include/asm/test.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/test.h
index e956a05262..7ec9b61008 100644
--- a/arch/sandbox/include/asm/test.h
+++ b/arch/sandbox/include/asm/test.h
@@ -177,4 +177,12 @@ int sandbox_get_beep_frequency(struct udevice *dev);
*/
int sandbox_get_pch_spi_protect(struct udevice *dev);
+/**
+ * sandbox_get_pci_ep_irq_count() - Get the PCI EP IRQ count
+ *
+ * @dev: Device to check
+ * @return irq count
+ */
+int sandbox_get_pci_ep_irq_count(struct udevice *dev);
+
#endif