From f2a55acfcf7a605f114a45eafa8a349341680f42 Mon Sep 17 00:00:00 2001 From: Ramon Fried Date: Sat, 27 Apr 2019 11:15:24 +0300 Subject: test: pci_ep: add basic pci_ep tests Add basic PCI endpoint sandbox testing. Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- arch/sandbox/include/asm/test.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch') diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/test.h index e956a05262f..7ec9b610083 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 -- cgit v1.2.3