summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/ecam_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/ecam_io.h')
-rw-r--r--src/include/ipxe/ecam_io.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/ipxe/ecam_io.h b/src/include/ipxe/ecam_io.h
index 4fb24db33..f31ccdc53 100644
--- a/src/include/ipxe/ecam_io.h
+++ b/src/include/ipxe/ecam_io.h
@@ -8,6 +8,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
@@ -136,4 +137,15 @@ PCIAPI_INLINE ( ecam, pci_ioremap ) ( struct pci_device *pci __unused,
return ioremap ( bus_addr, len );
}
+/**
+ * Check if PCI bus probing is allowed
+ *
+ * @v pci PCI device
+ * @ret ok Bus probing is allowed
+ */
+static inline __always_inline int
+PCIAPI_INLINE ( ecam, pci_can_probe ) ( struct pci_device *pci __unused ) {
+ return 1;
+}
+
#endif /* _IPXE_ECAM_IO_H */