From 0f3316bc71aab50dbd8464ee2fb5b680947f2ca5 Mon Sep 17 00:00:00 2001 From: Shuo Liu Date: Sat, 30 Mar 2024 00:37:55 +0800 Subject: device/device_util: Add and use is_pci_bridge() TEST=Build and boot on intel/archercity CRB Change-Id: Ied4921f7dc7e144e580d05d4f2262777aa59d895 Signed-off-by: Shuo Liu Reviewed-on: https://review.coreboot.org/c/coreboot/+/81566 Reviewed-by: Lean Sheng Tan Tested-by: build bot (Jenkins) --- src/include/device/device.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/device/device.h b/src/include/device/device.h index ac7e86917e..48e539f8dc 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -193,6 +193,7 @@ bool is_enabled_cpu(const struct device *cpu); bool is_pci(const struct device *pci); bool is_enabled_pci(const struct device *pci); bool is_pci_dev_on_bus(const struct device *pci, unsigned int bus); +bool is_pci_bridge(const struct device *pci); /* Returns whether there is a hotplug port on the path to the given device. */ bool dev_path_hotplug(const struct device *); -- cgit v1.2.3