summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-04-11 14:02:50 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-04-12 04:24:20 +0000
commit9f1030feae813751e607a282d5ec2cff8668b1b5 (patch)
tree3967d7a286d10e44f4ae32dd61ca26eeed198bfc /src
parent97344731aeaa16766d1467698596df7df6dd7747 (diff)
tree: Drop duplicated <device/{path,resource}.h>
<device/device.h> is supposed to provide <device/{path,resource}.h> Change-Id: I2ef82c8fe30b1c1399a9f85c1734ce8ba16a1f88 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81830 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/acpi/device.c1
-rw-r--r--src/arch/x86/cpu.c1
-rw-r--r--src/arch/x86/mpspec.c1
-rw-r--r--src/cpu/x86/mp_init.c1
-rw-r--r--src/device/device_const.c1
-rw-r--r--src/device/device_util.c2
-rw-r--r--src/drivers/generic/adau7002/adau7002.c1
-rw-r--r--src/drivers/generic/alc1015/alc1015.c1
-rw-r--r--src/drivers/generic/bayhub/bh720.c1
-rw-r--r--src/drivers/generic/bayhub_lv2/lv2.c1
-rw-r--r--src/drivers/generic/gpio_keys/gpio_keys.c1
-rw-r--r--src/drivers/generic/max98357a/max98357a.c1
-rw-r--r--src/drivers/generic/nau8315/nau8315.c1
-rw-r--r--src/drivers/genesyslogic/gl9755/gl9755.c1
-rw-r--r--src/drivers/genesyslogic/gl9763e/gl9763e.c1
-rw-r--r--src/drivers/i2c/cs35l53/cs35l53.c1
-rw-r--r--src/drivers/i2c/cs42l42/cs42l42.c1
-rw-r--r--src/drivers/i2c/da7219/da7219.c1
-rw-r--r--src/drivers/i2c/generic/generic.c1
-rw-r--r--src/drivers/i2c/gpiomux/bus/bus.c1
-rw-r--r--src/drivers/i2c/gpiomux/mux/mux.c1
-rw-r--r--src/drivers/i2c/max98373/max98373.c1
-rw-r--r--src/drivers/i2c/max98390/max98390.c1
-rw-r--r--src/drivers/i2c/max98396/max98396.c1
-rw-r--r--src/drivers/i2c/max98927/max98927.c1
-rw-r--r--src/drivers/i2c/nau8825/nau8825.c1
-rw-r--r--src/drivers/i2c/rt1011/rt1011.c1
-rw-r--r--src/drivers/i2c/rt5663/rt5663.c1
-rw-r--r--src/drivers/i2c/sx9310/sx9310.c1
-rw-r--r--src/drivers/i2c/sx9324/sx9324.c1
-rw-r--r--src/drivers/i2c/sx9360/sx9360.c1
-rw-r--r--src/drivers/i2c/tpm/chip.c1
-rw-r--r--src/drivers/intel/mipi_camera/camera.c1
-rw-r--r--src/drivers/intel/soundwire/soundwire.c1
-rw-r--r--src/drivers/intel/usb4/retimer/retimer.c1
-rw-r--r--src/drivers/nxp/uwb/uwb.c1
-rw-r--r--src/drivers/sof/sof.c1
-rw-r--r--src/drivers/soundwire/alc1308/alc1308.c1
-rw-r--r--src/drivers/soundwire/alc5682/alc5682.c1
-rw-r--r--src/drivers/soundwire/alc711/alc711.c1
-rw-r--r--src/drivers/soundwire/cs42l42/cs42l42.c1
-rw-r--r--src/drivers/soundwire/max98363/max98363.c1
-rw-r--r--src/drivers/soundwire/max98373/max98373.c1
-rw-r--r--src/drivers/spi/acpi/acpi.c1
-rw-r--r--src/drivers/uart/acpi/acpi.c1
-rw-r--r--src/drivers/usb/acpi/usb_acpi.c1
-rw-r--r--src/include/device/pci.h1
-rw-r--r--src/include/reg_script.h1
-rw-r--r--src/lib/reg_script.c1
-rw-r--r--src/soc/amd/common/block/root_complex/ioapic.c1
-rw-r--r--src/soc/amd/common/fsp/fsp_graphics.c1
-rw-r--r--src/soc/intel/apollolake/romstage.c1
-rw-r--r--src/soc/intel/cannonlake/graphics.c1
-rw-r--r--src/soc/intel/common/block/smbus/smbus.c1
-rw-r--r--src/soc/intel/common/block/usb4/pcie.c1
-rw-r--r--src/soc/intel/xeon_sp/include/soc/chip_common.h1
-rw-r--r--src/soc/intel/xeon_sp/spr/ioat.c1
-rw-r--r--src/soc/mediatek/common/pcie.c1
-rw-r--r--src/southbridge/intel/bd82x6x/smbus.c1
-rw-r--r--src/southbridge/intel/common/smbus_ops.c1
-rw-r--r--src/southbridge/intel/i82801gx/smbus.c1
-rw-r--r--src/southbridge/intel/i82801ix/smbus.c1
-rw-r--r--src/southbridge/intel/i82801jx/smbus.c1
-rw-r--r--src/southbridge/intel/ibexpeak/smbus.c1
-rw-r--r--src/southbridge/intel/lynxpoint/smbus.c1
65 files changed, 0 insertions, 66 deletions
diff --git a/src/acpi/device.c b/src/acpi/device.c
index 7fe5a3707d..95316b0861 100644
--- a/src/acpi/device.c
+++ b/src/acpi/device.c
@@ -7,7 +7,6 @@
#include <acpi/acpigen.h>
#include <acpi/acpigen_pci.h>
#include <device/device.h>
-#include <device/path.h>
#include <stdlib.h>
#include <types.h>
#include <crc_byte.h>
diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c
index f4c18c2643..91cbcb05fa 100644
--- a/src/arch/x86/cpu.c
+++ b/src/arch/x86/cpu.c
@@ -10,7 +10,6 @@
#include <cpu/x86/mp.h>
#include <cpu/x86/lapic.h>
#include <cpu/x86/tsc.h>
-#include <device/path.h>
#include <device/device.h>
#include <smp/spinlock.h>
diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c
index f5242d3d6e..d6f0cd5be1 100644
--- a/src/arch/x86/mpspec.c
+++ b/src/arch/x86/mpspec.c
@@ -7,7 +7,6 @@
#include <cpu/cpu.h>
#include <cpu/x86/lapic.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
#include <identity.h>
diff --git a/src/cpu/x86/mp_init.c b/src/cpu/x86/mp_init.c
index dd5e94d4f2..bb516974c9 100644
--- a/src/cpu/x86/mp_init.c
+++ b/src/cpu/x86/mp_init.c
@@ -17,7 +17,6 @@
#include <cpu/x86/mp.h>
#include <delay.h>
#include <device/device.h>
-#include <device/path.h>
#include <smp/atomic.h>
#include <smp/spinlock.h>
#include <symbols.h>
diff --git a/src/device/device_const.c b/src/device/device_const.c
index 0521c7e8a4..fc76304994 100644
--- a/src/device/device_const.c
+++ b/src/device/device_const.c
@@ -3,7 +3,6 @@
#include <assert.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/pci_def.h>
#include <device/pci_type.h>
#include <fw_config.h>
diff --git a/src/device/device_util.c b/src/device/device_util.c
index b5d0d9866e..02641c162e 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -3,9 +3,7 @@
#include <commonlib/bsd/helpers.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/pci_def.h>
-#include <device/resource.h>
#include <stdlib.h>
#include <string.h>
#include <types.h>
diff --git a/src/drivers/generic/adau7002/adau7002.c b/src/drivers/generic/adau7002/adau7002.c
index 5917f6956f..db48bfe24f 100644
--- a/src/drivers/generic/adau7002/adau7002.c
+++ b/src/drivers/generic/adau7002/adau7002.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
#if CONFIG(HAVE_ACPI_TABLES)
diff --git a/src/drivers/generic/alc1015/alc1015.c b/src/drivers/generic/alc1015/alc1015.c
index 7245f0c5ff..257775e763 100644
--- a/src/drivers/generic/alc1015/alc1015.c
+++ b/src/drivers/generic/alc1015/alc1015.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
static void alc1015_fill_ssdt(const struct device *dev)
diff --git a/src/drivers/generic/bayhub/bh720.c b/src/drivers/generic/bayhub/bh720.c
index 5104c35b6b..fb782caf4c 100644
--- a/src/drivers/generic/bayhub/bh720.c
+++ b/src/drivers/generic/bayhub/bh720.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/device.h>
#include <device/mmio.h>
-#include <device/path.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <device/pci_ids.h>
diff --git a/src/drivers/generic/bayhub_lv2/lv2.c b/src/drivers/generic/bayhub_lv2/lv2.c
index b2b85e1da5..3d94ac362b 100644
--- a/src/drivers/generic/bayhub_lv2/lv2.c
+++ b/src/drivers/generic/bayhub_lv2/lv2.c
@@ -4,7 +4,6 @@
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/pci.h>
#include <device/pciexp.h>
#include <device/pci_ops.h>
diff --git a/src/drivers/generic/gpio_keys/gpio_keys.c b/src/drivers/generic/gpio_keys/gpio_keys.c
index 28e5be5719..37b90cabd9 100644
--- a/src/drivers/generic/gpio_keys/gpio_keys.c
+++ b/src/drivers/generic/gpio_keys/gpio_keys.c
@@ -3,7 +3,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <device/device.h>
-#include <device/path.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/generic/max98357a/max98357a.c b/src/drivers/generic/max98357a/max98357a.c
index 8ce80f1b45..9b190ce20c 100644
--- a/src/drivers/generic/max98357a/max98357a.c
+++ b/src/drivers/generic/max98357a/max98357a.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <gpio.h>
#include "chip.h"
diff --git a/src/drivers/generic/nau8315/nau8315.c b/src/drivers/generic/nau8315/nau8315.c
index 8fe4e1fa09..294d519213 100644
--- a/src/drivers/generic/nau8315/nau8315.c
+++ b/src/drivers/generic/nau8315/nau8315.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <gpio.h>
#include "chip.h"
diff --git a/src/drivers/genesyslogic/gl9755/gl9755.c b/src/drivers/genesyslogic/gl9755/gl9755.c
index 6b8dd7db23..a160c0b132 100644
--- a/src/drivers/genesyslogic/gl9755/gl9755.c
+++ b/src/drivers/genesyslogic/gl9755/gl9755.c
@@ -4,7 +4,6 @@
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <device/pci_ids.h>
diff --git a/src/drivers/genesyslogic/gl9763e/gl9763e.c b/src/drivers/genesyslogic/gl9763e/gl9763e.c
index 140535d8a1..136c585d95 100644
--- a/src/drivers/genesyslogic/gl9763e/gl9763e.c
+++ b/src/drivers/genesyslogic/gl9763e/gl9763e.c
@@ -4,7 +4,6 @@
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <device/pci_ids.h>
diff --git a/src/drivers/i2c/cs35l53/cs35l53.c b/src/drivers/i2c/cs35l53/cs35l53.c
index 578e272b59..479ef7fdcd 100644
--- a/src/drivers/i2c/cs35l53/cs35l53.c
+++ b/src/drivers/i2c/cs35l53/cs35l53.c
@@ -6,7 +6,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
diff --git a/src/drivers/i2c/cs42l42/cs42l42.c b/src/drivers/i2c/cs42l42/cs42l42.c
index 8ccfd77f88..6d29dfeb71 100644
--- a/src/drivers/i2c/cs42l42/cs42l42.c
+++ b/src/drivers/i2c/cs42l42/cs42l42.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
diff --git a/src/drivers/i2c/da7219/da7219.c b/src/drivers/i2c/da7219/da7219.c
index 1a149ca9b6..e6a5283a92 100644
--- a/src/drivers/i2c/da7219/da7219.c
+++ b/src/drivers/i2c/da7219/da7219.c
@@ -6,7 +6,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c
index 03018eed55..afff978065 100644
--- a/src/drivers/i2c/generic/generic.c
+++ b/src/drivers/i2c/generic/generic.c
@@ -6,7 +6,6 @@
#include <device/i2c_bus.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include <gpio.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/gpiomux/bus/bus.c b/src/drivers/i2c/gpiomux/bus/bus.c
index a6c603a8f1..5487f6df91 100644
--- a/src/drivers/i2c/gpiomux/bus/bus.c
+++ b/src/drivers/i2c/gpiomux/bus/bus.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/gpiomux/mux/mux.c b/src/drivers/i2c/gpiomux/mux/mux.c
index 5f79fe5758..91d4ebf1df 100644
--- a/src/drivers/i2c/gpiomux/mux/mux.c
+++ b/src/drivers/i2c/gpiomux/mux/mux.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/max98373/max98373.c b/src/drivers/i2c/max98373/max98373.c
index 37a8864325..1035a7c5d9 100644
--- a/src/drivers/i2c/max98373/max98373.c
+++ b/src/drivers/i2c/max98373/max98373.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
#define MAX98373_ACPI_NAME "MAXI"
diff --git a/src/drivers/i2c/max98390/max98390.c b/src/drivers/i2c/max98390/max98390.c
index f4c4a70b92..f4912c17df 100644
--- a/src/drivers/i2c/max98390/max98390.c
+++ b/src/drivers/i2c/max98390/max98390.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c.h>
#include <device/device.h>
-#include <device/path.h>
#include <identity.h>
#include <stdint.h>
#include <vendorcode/google/dsm_calib.h>
diff --git a/src/drivers/i2c/max98396/max98396.c b/src/drivers/i2c/max98396/max98396.c
index 6ad3931b50..ca07dbdd4b 100644
--- a/src/drivers/i2c/max98396/max98396.c
+++ b/src/drivers/i2c/max98396/max98396.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
diff --git a/src/drivers/i2c/max98927/max98927.c b/src/drivers/i2c/max98927/max98927.c
index 9935d10ff0..a5775db27f 100644
--- a/src/drivers/i2c/max98927/max98927.c
+++ b/src/drivers/i2c/max98927/max98927.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
#define MAX98927_ACPI_NAME "MAXI"
diff --git a/src/drivers/i2c/nau8825/nau8825.c b/src/drivers/i2c/nau8825/nau8825.c
index 9e82538ff4..8bf9e4345a 100644
--- a/src/drivers/i2c/nau8825/nau8825.c
+++ b/src/drivers/i2c/nau8825/nau8825.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include <stdint.h>
#include "chip.h"
diff --git a/src/drivers/i2c/rt1011/rt1011.c b/src/drivers/i2c/rt1011/rt1011.c
index bf62a6f06d..e8ee8dfdf9 100644
--- a/src/drivers/i2c/rt1011/rt1011.c
+++ b/src/drivers/i2c/rt1011/rt1011.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c.h>
#include <device/device.h>
-#include <device/path.h>
#include <stdint.h>
#include <vendorcode/google/dsm_calib.h>
#include "chip.h"
diff --git a/src/drivers/i2c/rt5663/rt5663.c b/src/drivers/i2c/rt5663/rt5663.c
index e2341ddf13..bcbe0ff721 100644
--- a/src/drivers/i2c/rt5663/rt5663.c
+++ b/src/drivers/i2c/rt5663/rt5663.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
#define RT5663_ACPI_NAME "RT53"
diff --git a/src/drivers/i2c/sx9310/sx9310.c b/src/drivers/i2c/sx9310/sx9310.c
index 50946081bb..e5142bca36 100644
--- a/src/drivers/i2c/sx9310/sx9310.c
+++ b/src/drivers/i2c/sx9310/sx9310.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/sx9324/sx9324.c b/src/drivers/i2c/sx9324/sx9324.c
index 05aca00b35..966726fc8d 100644
--- a/src/drivers/i2c/sx9324/sx9324.c
+++ b/src/drivers/i2c/sx9324/sx9324.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/sx9360/sx9360.c b/src/drivers/i2c/sx9360/sx9360.c
index c9de0de860..df154f4ab7 100644
--- a/src/drivers/i2c/sx9360/sx9360.c
+++ b/src/drivers/i2c/sx9360/sx9360.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/i2c/tpm/chip.c b/src/drivers/i2c/tpm/chip.c
index a1d7389a0c..cb991446e0 100644
--- a/src/drivers/i2c/tpm/chip.c
+++ b/src/drivers/i2c/tpm/chip.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include "tpm.h"
#include "chip.h"
diff --git a/src/drivers/intel/mipi_camera/camera.c b/src/drivers/intel/mipi_camera/camera.c
index 4044a26896..92c45a8aea 100644
--- a/src/drivers/intel/mipi_camera/camera.c
+++ b/src/drivers/intel/mipi_camera/camera.c
@@ -8,7 +8,6 @@
#include <console/console.h>
#include <device/i2c_simple.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/pci_def.h>
#include "chip.h"
diff --git a/src/drivers/intel/soundwire/soundwire.c b/src/drivers/intel/soundwire/soundwire.c
index 0137dad5b4..2afb15677a 100644
--- a/src/drivers/intel/soundwire/soundwire.c
+++ b/src/drivers/intel/soundwire/soundwire.c
@@ -5,7 +5,6 @@
#include <acpi/acpi_soundwire.h>
#include <commonlib/helpers.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/soundwire.h>
#include <stdbool.h>
diff --git a/src/drivers/intel/usb4/retimer/retimer.c b/src/drivers/intel/usb4/retimer/retimer.c
index 970413904b..9e627de348 100644
--- a/src/drivers/intel/usb4/retimer/retimer.c
+++ b/src/drivers/intel/usb4/retimer/retimer.c
@@ -5,7 +5,6 @@
#include <acpi/acpi_pld.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <drivers/usb/acpi/chip.h>
#include <gpio.h>
#include <string.h>
diff --git a/src/drivers/nxp/uwb/uwb.c b/src/drivers/nxp/uwb/uwb.c
index b828657420..590b3f5154 100644
--- a/src/drivers/nxp/uwb/uwb.c
+++ b/src/drivers/nxp/uwb/uwb.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/spi.h>
#include <spi-generic.h>
#include <string.h>
diff --git a/src/drivers/sof/sof.c b/src/drivers/sof/sof.c
index 8cd577e32b..9f6391b214 100644
--- a/src/drivers/sof/sof.c
+++ b/src/drivers/sof/sof.c
@@ -3,7 +3,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
diff --git a/src/drivers/soundwire/alc1308/alc1308.c b/src/drivers/soundwire/alc1308/alc1308.c
index 5449fe8648..fc7b2af4f4 100644
--- a/src/drivers/soundwire/alc1308/alc1308.c
+++ b/src/drivers/soundwire/alc1308/alc1308.c
@@ -4,7 +4,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpi_soundwire.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/soundwire.h>
#include <mipi/ids.h>
#include <stdio.h>
diff --git a/src/drivers/soundwire/alc5682/alc5682.c b/src/drivers/soundwire/alc5682/alc5682.c
index 0d8a3ab061..67ce61c624 100644
--- a/src/drivers/soundwire/alc5682/alc5682.c
+++ b/src/drivers/soundwire/alc5682/alc5682.c
@@ -4,7 +4,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpi_soundwire.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/soundwire.h>
#include <mipi/ids.h>
#include <stdio.h>
diff --git a/src/drivers/soundwire/alc711/alc711.c b/src/drivers/soundwire/alc711/alc711.c
index cfe28ade0c..7d1ac4274f 100644
--- a/src/drivers/soundwire/alc711/alc711.c
+++ b/src/drivers/soundwire/alc711/alc711.c
@@ -4,7 +4,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpi_soundwire.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/soundwire.h>
#include <mipi/ids.h>
#include <stdio.h>
diff --git a/src/drivers/soundwire/cs42l42/cs42l42.c b/src/drivers/soundwire/cs42l42/cs42l42.c
index e7c14cc434..c0e1d9039f 100644
--- a/src/drivers/soundwire/cs42l42/cs42l42.c
+++ b/src/drivers/soundwire/cs42l42/cs42l42.c
@@ -4,7 +4,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpi_soundwire.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/soundwire.h>
#include <mipi/ids.h>
#include <stdio.h>
diff --git a/src/drivers/soundwire/max98363/max98363.c b/src/drivers/soundwire/max98363/max98363.c
index 7b90d7834b..6eec97b749 100644
--- a/src/drivers/soundwire/max98363/max98363.c
+++ b/src/drivers/soundwire/max98363/max98363.c
@@ -4,7 +4,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpi_soundwire.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/soundwire.h>
#include <mipi/ids.h>
#include <stdio.h>
diff --git a/src/drivers/soundwire/max98373/max98373.c b/src/drivers/soundwire/max98373/max98373.c
index e3107c4a4c..a394154002 100644
--- a/src/drivers/soundwire/max98373/max98373.c
+++ b/src/drivers/soundwire/max98373/max98373.c
@@ -4,7 +4,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpi_soundwire.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/soundwire.h>
#include <mipi/ids.h>
#include <stdio.h>
diff --git a/src/drivers/spi/acpi/acpi.c b/src/drivers/spi/acpi/acpi.c
index 537c377f7c..e87946f31b 100644
--- a/src/drivers/spi/acpi/acpi.c
+++ b/src/drivers/spi/acpi/acpi.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <device/spi.h>
#include <spi-generic.h>
#include <string.h>
diff --git a/src/drivers/uart/acpi/acpi.c b/src/drivers/uart/acpi/acpi.c
index bcf896da7f..a245f2cf0e 100644
--- a/src/drivers/uart/acpi/acpi.c
+++ b/src/drivers/uart/acpi/acpi.c
@@ -3,7 +3,6 @@
#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <console/console.h>
-#include <device/path.h>
#include <string.h>
#include "chip.h"
diff --git a/src/drivers/usb/acpi/usb_acpi.c b/src/drivers/usb/acpi/usb_acpi.c
index b463b3b8d6..569147abad 100644
--- a/src/drivers/usb/acpi/usb_acpi.c
+++ b/src/drivers/usb/acpi/usb_acpi.c
@@ -6,7 +6,6 @@
#include <acpi/acpigen_dsm.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include "chip.h"
static bool usb_acpi_add_gpios_to_crs(struct drivers_usb_acpi_config *cfg)
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index 88b955570a..2e7519554b 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -25,7 +25,6 @@
#include <device/pci_ops.h>
#include <device/pci_rom.h>
#include <device/pci_type.h> /* IWYU pragma: export */
-#include <device/resource.h>
#include <stddef.h>
#include <stdint.h>
diff --git a/src/include/reg_script.h b/src/include/reg_script.h
index 38a80aa7e7..56db353d1b 100644
--- a/src/include/reg_script.h
+++ b/src/include/reg_script.h
@@ -6,7 +6,6 @@
#include <stdint.h>
#include <device/device.h>
#include <device/pci_type.h>
-#include <device/resource.h>
/*
* The reg script library is a way to provide data-driven I/O accesses for
diff --git a/src/lib/reg_script.c b/src/lib/reg_script.c
index bad9d9c53e..c14f9276cb 100644
--- a/src/lib/reg_script.c
+++ b/src/lib/reg_script.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <delay.h>
#include <device/device.h>
-#include <device/resource.h>
#include <device/pci.h>
#include <stdint.h>
#include <reg_script.h>
diff --git a/src/soc/amd/common/block/root_complex/ioapic.c b/src/soc/amd/common/block/root_complex/ioapic.c
index e183428ca5..17e283f00f 100644
--- a/src/soc/amd/common/block/root_complex/ioapic.c
+++ b/src/soc/amd/common/block/root_complex/ioapic.c
@@ -4,7 +4,6 @@
#include <amdblocks/root_complex.h>
#include <arch/ioapic.h>
#include <device/device.h>
-#include <device/resource.h>
#include <types.h>
void amd_pci_domain_init(struct device *domain)
diff --git a/src/soc/amd/common/fsp/fsp_graphics.c b/src/soc/amd/common/fsp/fsp_graphics.c
index 4847e3c253..3e082e66ac 100644
--- a/src/soc/amd/common/fsp/fsp_graphics.c
+++ b/src/soc/amd/common/fsp/fsp_graphics.c
@@ -4,7 +4,6 @@
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
-#include <device/resource.h>
#include <fsp/graphics.h>
void fsp_graphics_init(struct device *const dev)
diff --git a/src/soc/intel/apollolake/romstage.c b/src/soc/intel/apollolake/romstage.c
index ba865e32b2..f71088311b 100644
--- a/src/soc/intel/apollolake/romstage.c
+++ b/src/soc/intel/apollolake/romstage.c
@@ -9,7 +9,6 @@
#include <device/device.h>
#include <delay.h>
#include <device/pci_def.h>
-#include <device/resource.h>
#include <fsp/api.h>
#include <fsp/util.h>
#include <intelblocks/cpulib.h>
diff --git a/src/soc/intel/cannonlake/graphics.c b/src/soc/intel/cannonlake/graphics.c
index 93a84c293a..abbe07978b 100644
--- a/src/soc/intel/cannonlake/graphics.c
+++ b/src/soc/intel/cannonlake/graphics.c
@@ -4,7 +4,6 @@
#include <device/device.h>
#include <device/mmio.h>
#include <device/pci_def.h>
-#include <device/resource.h>
#include <drivers/intel/gma/i915_reg.h>
#include <intelblocks/graphics.h>
#include <soc/ramstage.h>
diff --git a/src/soc/intel/common/block/smbus/smbus.c b/src/soc/intel/common/block/smbus/smbus.c
index 4f2ed3613d..97651c0f09 100644
--- a/src/soc/intel/common/block/smbus/smbus.c
+++ b/src/soc/intel/common/block/smbus/smbus.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/soc/intel/common/block/usb4/pcie.c b/src/soc/intel/common/block/usb4/pcie.c
index c066647d1a..24b6f465a2 100644
--- a/src/soc/intel/common/block/usb4/pcie.c
+++ b/src/soc/intel/common/block/usb4/pcie.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
-#include <device/path.h>
#include <string.h>
#include "chip.h"
diff --git a/src/soc/intel/xeon_sp/include/soc/chip_common.h b/src/soc/intel/xeon_sp/include/soc/chip_common.h
index c499f623fd..0c0258af9c 100644
--- a/src/soc/intel/xeon_sp/include/soc/chip_common.h
+++ b/src/soc/intel/xeon_sp/include/soc/chip_common.h
@@ -4,7 +4,6 @@
#define _CHIP_COMMON_H_
#include <device/device.h>
-#include <device/path.h>
#include <soc/soc_util.h>
union xeon_domain_path {
diff --git a/src/soc/intel/xeon_sp/spr/ioat.c b/src/soc/intel/xeon_sp/spr/ioat.c
index ecfc1f730b..9ed9576ef3 100644
--- a/src/soc/intel/xeon_sp/spr/ioat.c
+++ b/src/soc/intel/xeon_sp/spr/ioat.c
@@ -4,7 +4,6 @@
#include <console/console.h>
#include <device/device.h>
-#include <device/resource.h>
#include <defs_iio.h>
#include <hob_iiouds.h>
diff --git a/src/soc/mediatek/common/pcie.c b/src/soc/mediatek/common/pcie.c
index 10bece94d3..ce9055a8bc 100644
--- a/src/soc/mediatek/common/pcie.c
+++ b/src/soc/mediatek/common/pcie.c
@@ -6,7 +6,6 @@
#include <device/mmio.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include <device/resource.h>
#include <delay.h>
#include <lib.h>
#include <soc/addressmap.h>
diff --git a/src/southbridge/intel/bd82x6x/smbus.c b/src/southbridge/intel/bd82x6x/smbus.c
index d2ca24767b..9db8d7a91b 100644
--- a/src/southbridge/intel/bd82x6x/smbus.c
+++ b/src/southbridge/intel/bd82x6x/smbus.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/southbridge/intel/common/smbus_ops.c b/src/southbridge/intel/common/smbus_ops.c
index 347de736e9..8542ba3d04 100644
--- a/src/southbridge/intel/common/smbus_ops.c
+++ b/src/southbridge/intel/common/smbus_ops.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/southbridge/intel/i82801gx/smbus.c b/src/southbridge/intel/i82801gx/smbus.c
index d4980373d6..f26ddd4803 100644
--- a/src/southbridge/intel/i82801gx/smbus.c
+++ b/src/southbridge/intel/i82801gx/smbus.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/southbridge/intel/i82801ix/smbus.c b/src/southbridge/intel/i82801ix/smbus.c
index 1ddfb7fe00..8f60408433 100644
--- a/src/southbridge/intel/i82801ix/smbus.c
+++ b/src/southbridge/intel/i82801ix/smbus.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/southbridge/intel/i82801jx/smbus.c b/src/southbridge/intel/i82801jx/smbus.c
index 8fa1914e0d..15643bd8e0 100644
--- a/src/southbridge/intel/i82801jx/smbus.c
+++ b/src/southbridge/intel/i82801jx/smbus.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/southbridge/intel/ibexpeak/smbus.c b/src/southbridge/intel/ibexpeak/smbus.c
index 33184580b6..6bbd1e44f8 100644
--- a/src/southbridge/intel/ibexpeak/smbus.c
+++ b/src/southbridge/intel/ibexpeak/smbus.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/southbridge/intel/lynxpoint/smbus.c b/src/southbridge/intel/lynxpoint/smbus.c
index 757254ef14..036380248d 100644
--- a/src/southbridge/intel/lynxpoint/smbus.c
+++ b/src/southbridge/intel/lynxpoint/smbus.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/path.h>
#include <device/smbus.h>
#include <device/pci.h>
#include <device/pci_ids.h>