diff options
| author | Ramon Fried <[email protected]> | 2019-04-27 11:15:24 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-07-11 10:05:15 -0400 |
| commit | f2a55acfcf7a605f114a45eafa8a349341680f42 (patch) | |
| tree | 1eab5e03044fc8807934b0237c6a81d5a5fb75a4 /arch | |
| parent | bb413337826ef1a1445ff9fb33424fd231430228 (diff) | |
test: pci_ep: add basic pci_ep tests
Add basic PCI endpoint sandbox testing.
Signed-off-by: Ramon Fried <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/sandbox/include/asm/test.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
