summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/adi/rcc-dff/acpi_tables.c1
-rw-r--r--src/mainboard/amd/bettong/acpi_tables.c1
-rw-r--r--src/mainboard/amd/db-ft3b-lc/acpi_tables.c1
-rw-r--r--src/mainboard/amd/inagua/acpi_tables.c1
-rw-r--r--src/mainboard/amd/lamar/acpi_tables.c1
-rw-r--r--src/mainboard/amd/mahogany_fam10/acpi_tables.c1
-rw-r--r--src/mainboard/amd/olivehill/acpi_tables.c2
-rw-r--r--src/mainboard/amd/olivehillplus/acpi_tables.c1
-rw-r--r--src/mainboard/amd/parmer/acpi_tables.c1
-rw-r--r--src/mainboard/amd/persimmon/acpi_tables.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/mainboard.c1
-rw-r--r--src/mainboard/amd/south_station/acpi_tables.c1
-rw-r--r--src/mainboard/amd/thatcher/acpi_tables.c1
-rw-r--r--src/mainboard/amd/union_station/acpi_tables.c1
-rw-r--r--src/mainboard/asrock/e350m1/acpi_tables.c2
-rw-r--r--src/mainboard/asrock/imb-a180/acpi_tables.c2
-rw-r--r--src/mainboard/asus/am1i-a/acpi_tables.c2
-rw-r--r--src/mainboard/asus/f2a85-m/acpi_tables.c2
-rw-r--r--src/mainboard/asus/m4a785-m/acpi_tables.c1
-rw-r--r--src/mainboard/bap/ode_e20XX/acpi_tables.c2
-rw-r--r--src/mainboard/bap/ode_e21XX/acpi_tables.c1
-rw-r--r--src/mainboard/biostar/a68n_5200/acpi_tables.c2
-rw-r--r--src/mainboard/biostar/am1ml/acpi_tables.c2
-rw-r--r--src/mainboard/elmex/pcm205400/acpi_tables.c2
-rw-r--r--src/mainboard/emulation/qemu-i440fx/acpi_tables.c1
-rw-r--r--src/mainboard/emulation/qemu-i440fx/fw_cfg.c2
-rw-r--r--src/mainboard/emulation/qemu-q35/acpi_tables.c1
-rw-r--r--src/mainboard/esd/atom15/acpi_tables.c1
-rw-r--r--src/mainboard/getac/p470/acpi_tables.c1
-rw-r--r--src/mainboard/gizmosphere/gizmo/acpi_tables.c1
-rw-r--r--src/mainboard/gizmosphere/gizmo2/acpi_tables.c2
-rw-r--r--src/mainboard/google/auron/acpi_tables.c2
-rw-r--r--src/mainboard/google/beltino/acpi_tables.c1
-rw-r--r--src/mainboard/google/jecht/acpi_tables.c2
-rw-r--r--src/mainboard/google/parrot/acpi_tables.c1
-rw-r--r--src/mainboard/google/rambi/acpi_tables.c1
-rw-r--r--src/mainboard/google/slippy/acpi_tables.c1
-rw-r--r--src/mainboard/google/stout/acpi_tables.c1
-rw-r--r--src/mainboard/hp/abm/acpi_tables.c2
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c1
-rw-r--r--src/mainboard/iei/kino-780am2-fam10/acpi_tables.c1
-rw-r--r--src/mainboard/intel/baskingridge/acpi_tables.c1
-rw-r--r--src/mainboard/intel/bayleybay_fsp/acpi_tables.c1
-rw-r--r--src/mainboard/intel/emeraldlake2/acpi_tables.c1
-rw-r--r--src/mainboard/intel/harcuvar/acpi_tables.c1
-rw-r--r--src/mainboard/intel/littleplains/acpi_tables.c1
-rw-r--r--src/mainboard/intel/minnowmax/acpi_tables.c1
-rw-r--r--src/mainboard/intel/mohonpeak/acpi_tables.c1
-rw-r--r--src/mainboard/intel/strago/acpi_tables.c1
-rw-r--r--src/mainboard/intel/wtm2/acpi_tables.c1
-rw-r--r--src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c2
-rw-r--r--src/mainboard/lenovo/g505s/acpi_tables.c1
-rw-r--r--src/mainboard/lenovo/t400/acpi_tables.c1
-rw-r--r--src/mainboard/lenovo/x200/acpi_tables.c1
-rw-r--r--src/mainboard/lippert/frontrunner-af/acpi_tables.c1
-rw-r--r--src/mainboard/lippert/toucan-af/acpi_tables.c1
-rw-r--r--src/mainboard/msi/ms7721/acpi_tables.c1
-rw-r--r--src/mainboard/opencellular/rotundu/acpi_tables.c1
-rw-r--r--src/mainboard/pcengines/apu1/acpi_tables.c2
-rw-r--r--src/mainboard/pcengines/apu2/acpi_tables.c1
-rw-r--r--src/mainboard/purism/librem_bdw/acpi_tables.c1
-rw-r--r--src/mainboard/roda/rk9/acpi_tables.c1
-rw-r--r--src/mainboard/samsung/lumpy/acpi_tables.c1
-rw-r--r--src/mainboard/samsung/stumpy/acpi_tables.c1
-rw-r--r--src/mainboard/scaleway/tagada/acpi_tables.c1
-rw-r--r--src/mainboard/siemens/mc_tcu3/acpi_tables.c1
-rw-r--r--src/soc/amd/stoneyridge/i2c.c1
-rw-r--r--src/soc/intel/apollolake/graphics.c1
-rw-r--r--src/soc/intel/braswell/southcluster.c1
-rw-r--r--src/soc/intel/cannonlake/graphics.c2
-rw-r--r--src/soc/intel/fsp_baytrail/southcluster.c1
-rw-r--r--src/soc/intel/icelake/graphics.c2
-rw-r--r--src/southbridge/amd/sb700/lpc.c1
-rw-r--r--src/southbridge/intel/ibexpeak/madt.c1
-rw-r--r--src/southbridge/nvidia/mcp55/lpc.c3
75 files changed, 4 insertions, 92 deletions
diff --git a/src/mainboard/adi/rcc-dff/acpi_tables.c b/src/mainboard/adi/rcc-dff/acpi_tables.c
index bc5f953451..a0ebbba53c 100644
--- a/src/mainboard/adi/rcc-dff/acpi_tables.c
+++ b/src/mainboard/adi/rcc-dff/acpi_tables.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/bettong/acpi_tables.c b/src/mainboard/amd/bettong/acpi_tables.c
index 676318d17a..b0f297cbb4 100644
--- a/src/mainboard/amd/bettong/acpi_tables.c
+++ b/src/mainboard/amd/bettong/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/db-ft3b-lc/acpi_tables.c b/src/mainboard/amd/db-ft3b-lc/acpi_tables.c
index 6188cd23ac..0b9e0c47c9 100644
--- a/src/mainboard/amd/db-ft3b-lc/acpi_tables.c
+++ b/src/mainboard/amd/db-ft3b-lc/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/inagua/acpi_tables.c b/src/mainboard/amd/inagua/acpi_tables.c
index 74be72f217..f18a2aa007 100644
--- a/src/mainboard/amd/inagua/acpi_tables.c
+++ b/src/mainboard/amd/inagua/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/lamar/acpi_tables.c b/src/mainboard/amd/lamar/acpi_tables.c
index cfae02e5f5..1bbd390fed 100644
--- a/src/mainboard/amd/lamar/acpi_tables.c
+++ b/src/mainboard/amd/lamar/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/mahogany_fam10/acpi_tables.c b/src/mainboard/amd/mahogany_fam10/acpi_tables.c
index f5c6546b93..c907d68a59 100644
--- a/src/mainboard/amd/mahogany_fam10/acpi_tables.c
+++ b/src/mainboard/amd/mahogany_fam10/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <cpu/amd/amdfam10_sysconf.h>
diff --git a/src/mainboard/amd/olivehill/acpi_tables.c b/src/mainboard/amd/olivehill/acpi_tables.c
index 84ad76e734..0b9e0c47c9 100644
--- a/src/mainboard/amd/olivehill/acpi_tables.c
+++ b/src/mainboard/amd/olivehill/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/amd/olivehillplus/acpi_tables.c b/src/mainboard/amd/olivehillplus/acpi_tables.c
index 6188cd23ac..0b9e0c47c9 100644
--- a/src/mainboard/amd/olivehillplus/acpi_tables.c
+++ b/src/mainboard/amd/olivehillplus/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/parmer/acpi_tables.c b/src/mainboard/amd/parmer/acpi_tables.c
index cd28d9df98..3ff68e3e41 100644
--- a/src/mainboard/amd/parmer/acpi_tables.c
+++ b/src/mainboard/amd/parmer/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/persimmon/acpi_tables.c b/src/mainboard/amd/persimmon/acpi_tables.c
index 5727da8680..f18a2aa007 100644
--- a/src/mainboard/amd/persimmon/acpi_tables.c
+++ b/src/mainboard/amd/persimmon/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/mainboard.c b/src/mainboard/amd/serengeti_cheetah_fam10/mainboard.c
index fee01092a0..ac91940b85 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/mainboard.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/mainboard.c
@@ -13,7 +13,6 @@
#include <device/device.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include "mainboard.h"
static void mainboard_enable(struct device *dev)
diff --git a/src/mainboard/amd/south_station/acpi_tables.c b/src/mainboard/amd/south_station/acpi_tables.c
index 74be72f217..f18a2aa007 100644
--- a/src/mainboard/amd/south_station/acpi_tables.c
+++ b/src/mainboard/amd/south_station/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/thatcher/acpi_tables.c b/src/mainboard/amd/thatcher/acpi_tables.c
index cd28d9df98..3ff68e3e41 100644
--- a/src/mainboard/amd/thatcher/acpi_tables.c
+++ b/src/mainboard/amd/thatcher/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/amd/union_station/acpi_tables.c b/src/mainboard/amd/union_station/acpi_tables.c
index 74be72f217..f18a2aa007 100644
--- a/src/mainboard/amd/union_station/acpi_tables.c
+++ b/src/mainboard/amd/union_station/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/asrock/e350m1/acpi_tables.c b/src/mainboard/asrock/e350m1/acpi_tables.c
index a61d91e102..bc9c1542bc 100644
--- a/src/mainboard/asrock/e350m1/acpi_tables.c
+++ b/src/mainboard/asrock/e350m1/acpi_tables.c
@@ -13,9 +13,7 @@
* GNU General Public License for more details.
*/
-
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <string.h>
diff --git a/src/mainboard/asrock/imb-a180/acpi_tables.c b/src/mainboard/asrock/imb-a180/acpi_tables.c
index 84ad76e734..0b9e0c47c9 100644
--- a/src/mainboard/asrock/imb-a180/acpi_tables.c
+++ b/src/mainboard/asrock/imb-a180/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/asus/am1i-a/acpi_tables.c b/src/mainboard/asus/am1i-a/acpi_tables.c
index 68cd23999b..12a20ea520 100644
--- a/src/mainboard/asus/am1i-a/acpi_tables.c
+++ b/src/mainboard/asus/am1i-a/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/asus/f2a85-m/acpi_tables.c b/src/mainboard/asus/f2a85-m/acpi_tables.c
index f94fde014f..7338eee5bb 100644
--- a/src/mainboard/asus/f2a85-m/acpi_tables.c
+++ b/src/mainboard/asus/f2a85-m/acpi_tables.c
@@ -13,9 +13,7 @@
* GNU General Public License for more details.
*/
-
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <string.h>
diff --git a/src/mainboard/asus/m4a785-m/acpi_tables.c b/src/mainboard/asus/m4a785-m/acpi_tables.c
index a0912102a1..ec04eff06b 100644
--- a/src/mainboard/asus/m4a785-m/acpi_tables.c
+++ b/src/mainboard/asus/m4a785-m/acpi_tables.c
@@ -16,7 +16,6 @@
#include <console/console.h>
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <cpu/amd/amdfam10_sysconf.h>
diff --git a/src/mainboard/bap/ode_e20XX/acpi_tables.c b/src/mainboard/bap/ode_e20XX/acpi_tables.c
index 84ad76e734..0b9e0c47c9 100644
--- a/src/mainboard/bap/ode_e20XX/acpi_tables.c
+++ b/src/mainboard/bap/ode_e20XX/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/bap/ode_e21XX/acpi_tables.c b/src/mainboard/bap/ode_e21XX/acpi_tables.c
index 6188cd23ac..0b9e0c47c9 100644
--- a/src/mainboard/bap/ode_e21XX/acpi_tables.c
+++ b/src/mainboard/bap/ode_e21XX/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/biostar/a68n_5200/acpi_tables.c b/src/mainboard/biostar/a68n_5200/acpi_tables.c
index 84ad76e734..0b9e0c47c9 100644
--- a/src/mainboard/biostar/a68n_5200/acpi_tables.c
+++ b/src/mainboard/biostar/a68n_5200/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/biostar/am1ml/acpi_tables.c b/src/mainboard/biostar/am1ml/acpi_tables.c
index 68cd23999b..12a20ea520 100644
--- a/src/mainboard/biostar/am1ml/acpi_tables.c
+++ b/src/mainboard/biostar/am1ml/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/elmex/pcm205400/acpi_tables.c b/src/mainboard/elmex/pcm205400/acpi_tables.c
index 5727da8680..f18a2aa007 100644
--- a/src/mainboard/elmex/pcm205400/acpi_tables.c
+++ b/src/mainboard/elmex/pcm205400/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/emulation/qemu-i440fx/acpi_tables.c b/src/mainboard/emulation/qemu-i440fx/acpi_tables.c
index abd26337e4..2829289867 100644
--- a/src/mainboard/emulation/qemu-i440fx/acpi_tables.c
+++ b/src/mainboard/emulation/qemu-i440fx/acpi_tables.c
@@ -16,7 +16,6 @@
#include <types.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
index 508fcca197..a83c581746 100644
--- a/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
+++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg.c
@@ -16,7 +16,7 @@
#include <smbios.h>
#include <console/console.h>
#include <arch/io.h>
-#include <arch/acpigen.h>
+#include <arch/acpi.h>
#include <commonlib/endian.h>
#include "fw_cfg.h"
diff --git a/src/mainboard/emulation/qemu-q35/acpi_tables.c b/src/mainboard/emulation/qemu-q35/acpi_tables.c
index 6acbaf7478..2c6a2ecd25 100644
--- a/src/mainboard/emulation/qemu-q35/acpi_tables.c
+++ b/src/mainboard/emulation/qemu-q35/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/esd/atom15/acpi_tables.c b/src/mainboard/esd/atom15/acpi_tables.c
index bdb201c427..edb66fc036 100644
--- a/src/mainboard/esd/atom15/acpi_tables.c
+++ b/src/mainboard/esd/atom15/acpi_tables.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/getac/p470/acpi_tables.c b/src/mainboard/getac/p470/acpi_tables.c
index 162c20a891..57e2911f63 100644
--- a/src/mainboard/getac/p470/acpi_tables.c
+++ b/src/mainboard/getac/p470/acpi_tables.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <console/console.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/gizmosphere/gizmo/acpi_tables.c b/src/mainboard/gizmosphere/gizmo/acpi_tables.c
index 644ab96e01..39d9096bf5 100644
--- a/src/mainboard/gizmosphere/gizmo/acpi_tables.c
+++ b/src/mainboard/gizmosphere/gizmo/acpi_tables.c
@@ -16,7 +16,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/gizmosphere/gizmo2/acpi_tables.c b/src/mainboard/gizmosphere/gizmo2/acpi_tables.c
index 84ad76e734..0b9e0c47c9 100644
--- a/src/mainboard/gizmosphere/gizmo2/acpi_tables.c
+++ b/src/mainboard/gizmosphere/gizmo2/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/google/auron/acpi_tables.c b/src/mainboard/google/auron/acpi_tables.c
index 4bb0239809..7d4d21ed87 100644
--- a/src/mainboard/google/auron/acpi_tables.c
+++ b/src/mainboard/google/auron/acpi_tables.c
@@ -14,7 +14,7 @@
*/
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
+#include <arch/acpi.h>
#include <soc/acpi.h>
#include <soc/nvs.h>
#include <variant/thermal.h>
diff --git a/src/mainboard/google/beltino/acpi_tables.c b/src/mainboard/google/beltino/acpi_tables.c
index 4da0a2b6b5..9ed8cfde6a 100644
--- a/src/mainboard/google/beltino/acpi_tables.c
+++ b/src/mainboard/google/beltino/acpi_tables.c
@@ -16,7 +16,6 @@
#include <string.h>
#include <types.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
diff --git a/src/mainboard/google/jecht/acpi_tables.c b/src/mainboard/google/jecht/acpi_tables.c
index 9bc1816a2d..c78a219f3c 100644
--- a/src/mainboard/google/jecht/acpi_tables.c
+++ b/src/mainboard/google/jecht/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
@@ -25,7 +24,6 @@
#include <soc/nvs.h>
#include <variant/thermal.h>
-
static void acpi_update_thermal_table(global_nvs_t *gnvs)
{
gnvs->tmps = TEMPERATURE_SENSOR_ID;
diff --git a/src/mainboard/google/parrot/acpi_tables.c b/src/mainboard/google/parrot/acpi_tables.c
index 7d196e9400..77b7d5ea90 100644
--- a/src/mainboard/google/parrot/acpi_tables.c
+++ b/src/mainboard/google/parrot/acpi_tables.c
@@ -16,7 +16,6 @@
#include <types.h>
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/google/rambi/acpi_tables.c b/src/mainboard/google/rambi/acpi_tables.c
index d9f511ace9..3837a52bb7 100644
--- a/src/mainboard/google/rambi/acpi_tables.c
+++ b/src/mainboard/google/rambi/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/google/slippy/acpi_tables.c b/src/mainboard/google/slippy/acpi_tables.c
index c748fb4ad3..2d1082f66d 100644
--- a/src/mainboard/google/slippy/acpi_tables.c
+++ b/src/mainboard/google/slippy/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/google/stout/acpi_tables.c b/src/mainboard/google/stout/acpi_tables.c
index 083045678e..681aa55f85 100644
--- a/src/mainboard/google/stout/acpi_tables.c
+++ b/src/mainboard/google/stout/acpi_tables.c
@@ -16,7 +16,6 @@
#include <types.h>
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/hp/abm/acpi_tables.c b/src/mainboard/hp/abm/acpi_tables.c
index 84ad76e734..0b9e0c47c9 100644
--- a/src/mainboard/hp/abm/acpi_tables.c
+++ b/src/mainboard/hp/abm/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c b/src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c
index f94fde014f..a840fe8545 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c
+++ b/src/mainboard/hp/pavilion_m6_1035dx/acpi_tables.c
@@ -15,7 +15,6 @@
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <string.h>
diff --git a/src/mainboard/iei/kino-780am2-fam10/acpi_tables.c b/src/mainboard/iei/kino-780am2-fam10/acpi_tables.c
index f5c6546b93..c907d68a59 100644
--- a/src/mainboard/iei/kino-780am2-fam10/acpi_tables.c
+++ b/src/mainboard/iei/kino-780am2-fam10/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <cpu/amd/amdfam10_sysconf.h>
diff --git a/src/mainboard/intel/baskingridge/acpi_tables.c b/src/mainboard/intel/baskingridge/acpi_tables.c
index af2101f506..559c555799 100644
--- a/src/mainboard/intel/baskingridge/acpi_tables.c
+++ b/src/mainboard/intel/baskingridge/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/intel/bayleybay_fsp/acpi_tables.c b/src/mainboard/intel/bayleybay_fsp/acpi_tables.c
index 0a1656519a..2903a5c5e0 100644
--- a/src/mainboard/intel/bayleybay_fsp/acpi_tables.c
+++ b/src/mainboard/intel/bayleybay_fsp/acpi_tables.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/intel/emeraldlake2/acpi_tables.c b/src/mainboard/intel/emeraldlake2/acpi_tables.c
index d5deff0331..666d48d7b1 100644
--- a/src/mainboard/intel/emeraldlake2/acpi_tables.c
+++ b/src/mainboard/intel/emeraldlake2/acpi_tables.c
@@ -16,7 +16,6 @@
#include <types.h>
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/intel/harcuvar/acpi_tables.c b/src/mainboard/intel/harcuvar/acpi_tables.c
index c0e830d467..6be920b571 100644
--- a/src/mainboard/intel/harcuvar/acpi_tables.c
+++ b/src/mainboard/intel/harcuvar/acpi_tables.c
@@ -19,7 +19,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/intel/littleplains/acpi_tables.c b/src/mainboard/intel/littleplains/acpi_tables.c
index bc5f953451..a0ebbba53c 100644
--- a/src/mainboard/intel/littleplains/acpi_tables.c
+++ b/src/mainboard/intel/littleplains/acpi_tables.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/intel/minnowmax/acpi_tables.c b/src/mainboard/intel/minnowmax/acpi_tables.c
index bdb201c427..edb66fc036 100644
--- a/src/mainboard/intel/minnowmax/acpi_tables.c
+++ b/src/mainboard/intel/minnowmax/acpi_tables.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/intel/mohonpeak/acpi_tables.c b/src/mainboard/intel/mohonpeak/acpi_tables.c
index bc5f953451..a0ebbba53c 100644
--- a/src/mainboard/intel/mohonpeak/acpi_tables.c
+++ b/src/mainboard/intel/mohonpeak/acpi_tables.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/intel/strago/acpi_tables.c b/src/mainboard/intel/strago/acpi_tables.c
index 62fcc19c0f..29c5de7dfa 100644
--- a/src/mainboard/intel/strago/acpi_tables.c
+++ b/src/mainboard/intel/strago/acpi_tables.c
@@ -15,7 +15,6 @@
*/
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
diff --git a/src/mainboard/intel/wtm2/acpi_tables.c b/src/mainboard/intel/wtm2/acpi_tables.c
index 16cd0c614f..39bf213092 100644
--- a/src/mainboard/intel/wtm2/acpi_tables.c
+++ b/src/mainboard/intel/wtm2/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c b/src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c
index a61d91e102..bc9c1542bc 100644
--- a/src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c
+++ b/src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c
@@ -13,9 +13,7 @@
* GNU General Public License for more details.
*/
-
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <string.h>
diff --git a/src/mainboard/lenovo/g505s/acpi_tables.c b/src/mainboard/lenovo/g505s/acpi_tables.c
index f94fde014f..a840fe8545 100644
--- a/src/mainboard/lenovo/g505s/acpi_tables.c
+++ b/src/mainboard/lenovo/g505s/acpi_tables.c
@@ -15,7 +15,6 @@
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <string.h>
diff --git a/src/mainboard/lenovo/t400/acpi_tables.c b/src/mainboard/lenovo/t400/acpi_tables.c
index 45636474f0..301ca50735 100644
--- a/src/mainboard/lenovo/t400/acpi_tables.c
+++ b/src/mainboard/lenovo/t400/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/ioapic.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/lenovo/x200/acpi_tables.c b/src/mainboard/lenovo/x200/acpi_tables.c
index 45636474f0..301ca50735 100644
--- a/src/mainboard/lenovo/x200/acpi_tables.c
+++ b/src/mainboard/lenovo/x200/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/ioapic.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/lippert/frontrunner-af/acpi_tables.c b/src/mainboard/lippert/frontrunner-af/acpi_tables.c
index 74be72f217..f18a2aa007 100644
--- a/src/mainboard/lippert/frontrunner-af/acpi_tables.c
+++ b/src/mainboard/lippert/frontrunner-af/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/lippert/toucan-af/acpi_tables.c b/src/mainboard/lippert/toucan-af/acpi_tables.c
index 74be72f217..f18a2aa007 100644
--- a/src/mainboard/lippert/toucan-af/acpi_tables.c
+++ b/src/mainboard/lippert/toucan-af/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/msi/ms7721/acpi_tables.c b/src/mainboard/msi/ms7721/acpi_tables.c
index f94fde014f..a840fe8545 100644
--- a/src/mainboard/msi/ms7721/acpi_tables.c
+++ b/src/mainboard/msi/ms7721/acpi_tables.c
@@ -15,7 +15,6 @@
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
#include <string.h>
diff --git a/src/mainboard/opencellular/rotundu/acpi_tables.c b/src/mainboard/opencellular/rotundu/acpi_tables.c
index 4f95bff3e6..7f6abd9685 100644
--- a/src/mainboard/opencellular/rotundu/acpi_tables.c
+++ b/src/mainboard/opencellular/rotundu/acpi_tables.c
@@ -17,7 +17,6 @@
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <soc/acpi.h>
#include <soc/nvs.h>
diff --git a/src/mainboard/pcengines/apu1/acpi_tables.c b/src/mainboard/pcengines/apu1/acpi_tables.c
index 5727da8680..f18a2aa007 100644
--- a/src/mainboard/pcengines/apu1/acpi_tables.c
+++ b/src/mainboard/pcengines/apu1/acpi_tables.c
@@ -15,11 +15,9 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
-
unsigned long acpi_fill_madt(unsigned long current)
{
/* create all subtables for processors */
diff --git a/src/mainboard/pcengines/apu2/acpi_tables.c b/src/mainboard/pcengines/apu2/acpi_tables.c
index 6188cd23ac..0b9e0c47c9 100644
--- a/src/mainboard/pcengines/apu2/acpi_tables.c
+++ b/src/mainboard/pcengines/apu2/acpi_tables.c
@@ -15,7 +15,6 @@
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <device/pci.h>
diff --git a/src/mainboard/purism/librem_bdw/acpi_tables.c b/src/mainboard/purism/librem_bdw/acpi_tables.c
index b51be025c9..918398ec0b 100644
--- a/src/mainboard/purism/librem_bdw/acpi_tables.c
+++ b/src/mainboard/purism/librem_bdw/acpi_tables.c
@@ -14,7 +14,6 @@
*/
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/ioapic.h>
#include <soc/acpi.h>
#include <soc/nvs.h>
diff --git a/src/mainboard/roda/rk9/acpi_tables.c b/src/mainboard/roda/rk9/acpi_tables.c
index 6132143ac9..0700ca06a0 100644
--- a/src/mainboard/roda/rk9/acpi_tables.c
+++ b/src/mainboard/roda/rk9/acpi_tables.c
@@ -17,7 +17,6 @@
#include <string.h>
#include <arch/ioapic.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/samsung/lumpy/acpi_tables.c b/src/mainboard/samsung/lumpy/acpi_tables.c
index 0c3d3dbb61..c41e964660 100644
--- a/src/mainboard/samsung/lumpy/acpi_tables.c
+++ b/src/mainboard/samsung/lumpy/acpi_tables.c
@@ -16,7 +16,6 @@
#include <types.h>
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/samsung/stumpy/acpi_tables.c b/src/mainboard/samsung/stumpy/acpi_tables.c
index ad3b29cf8e..b21ae2255d 100644
--- a/src/mainboard/samsung/stumpy/acpi_tables.c
+++ b/src/mainboard/samsung/stumpy/acpi_tables.c
@@ -16,7 +16,6 @@
#include <types.h>
#include <string.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/scaleway/tagada/acpi_tables.c b/src/mainboard/scaleway/tagada/acpi_tables.c
index c0e830d467..6be920b571 100644
--- a/src/mainboard/scaleway/tagada/acpi_tables.c
+++ b/src/mainboard/scaleway/tagada/acpi_tables.c
@@ -19,7 +19,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/mainboard/siemens/mc_tcu3/acpi_tables.c b/src/mainboard/siemens/mc_tcu3/acpi_tables.c
index 0a1656519a..2903a5c5e0 100644
--- a/src/mainboard/siemens/mc_tcu3/acpi_tables.c
+++ b/src/mainboard/siemens/mc_tcu3/acpi_tables.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <arch/acpi.h>
#include <arch/ioapic.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/soc/amd/stoneyridge/i2c.c b/src/soc/amd/stoneyridge/i2c.c
index 45057a0b2e..e99f3509ff 100644
--- a/src/soc/amd/stoneyridge/i2c.c
+++ b/src/soc/amd/stoneyridge/i2c.c
@@ -14,7 +14,6 @@
*/
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <console/console.h>
#include <drivers/i2c/designware/dw_i2c.h>
#include <soc/iomap.h>
diff --git a/src/soc/intel/apollolake/graphics.c b/src/soc/intel/apollolake/graphics.c
index a05d6087be..51661d0cfc 100644
--- a/src/soc/intel/apollolake/graphics.c
+++ b/src/soc/intel/apollolake/graphics.c
@@ -17,7 +17,6 @@
#include <stdint.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <bootmode.h>
#include <console/console.h>
#include <fsp/util.h>
diff --git a/src/soc/intel/braswell/southcluster.c b/src/soc/intel/braswell/southcluster.c
index 22fe85326a..dc204f3abf 100644
--- a/src/soc/intel/braswell/southcluster.c
+++ b/src/soc/intel/braswell/southcluster.c
@@ -20,7 +20,6 @@
#include <device/mmio.h>
#include <device/pci_ops.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <bootstate.h>
#include "chip.h"
#include <console/console.h>
diff --git a/src/soc/intel/cannonlake/graphics.c b/src/soc/intel/cannonlake/graphics.c
index 015220d249..a89dcb31fb 100644
--- a/src/soc/intel/cannonlake/graphics.c
+++ b/src/soc/intel/cannonlake/graphics.c
@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
-#include <arch/acpigen.h>
+#include <arch/acpi.h>
#include <console/console.h>
#include <fsp/util.h>
#include <device/device.h>
diff --git a/src/soc/intel/fsp_baytrail/southcluster.c b/src/soc/intel/fsp_baytrail/southcluster.c
index e6947b4d6d..4734e0e023 100644
--- a/src/soc/intel/fsp_baytrail/southcluster.c
+++ b/src/soc/intel/fsp_baytrail/southcluster.c
@@ -41,7 +41,6 @@
#include <soc/ramstage.h>
#include "chip.h"
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#define ENABLE_ACPI_MODE_IN_COREBOOT 0
#define TEST_SMM_FLASH_LOCKDOWN 0
diff --git a/src/soc/intel/icelake/graphics.c b/src/soc/intel/icelake/graphics.c
index 1539b42108..35fe8b6236 100644
--- a/src/soc/intel/icelake/graphics.c
+++ b/src/soc/intel/icelake/graphics.c
@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
-#include <arch/acpigen.h>
+#include <arch/acpi.h>
#include <console/console.h>
#include <fsp/util.h>
#include <device/device.h>
diff --git a/src/southbridge/amd/sb700/lpc.c b/src/southbridge/amd/sb700/lpc.c
index eae8f04e49..6f3be03c30 100644
--- a/src/southbridge/amd/sb700/lpc.c
+++ b/src/southbridge/amd/sb700/lpc.c
@@ -24,7 +24,6 @@
#include <pc80/i8254.h>
#include <pc80/i8259.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <pc80/isa-dma.h>
#include <arch/ioapic.h>
#include <cpu/amd/powernow.h>
diff --git a/src/southbridge/intel/ibexpeak/madt.c b/src/southbridge/intel/ibexpeak/madt.c
index 0affa790dd..f7286bc9b9 100644
--- a/src/southbridge/intel/ibexpeak/madt.c
+++ b/src/southbridge/intel/ibexpeak/madt.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <arch/ioapic.h>
#include <arch/acpi.h>
-#include <arch/acpigen.h>
#include <arch/smp/mpspec.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/southbridge/nvidia/mcp55/lpc.c b/src/southbridge/nvidia/mcp55/lpc.c
index 94ea573020..1aef631ee6 100644
--- a/src/southbridge/nvidia/mcp55/lpc.c
+++ b/src/southbridge/nvidia/mcp55/lpc.c
@@ -32,9 +32,6 @@
#include <cpu/x86/lapic.h>
#include <arch/acpi.h>
#include <stdlib.h>
-#if CONFIG(HAVE_ACPI_TABLES)
-#include <arch/acpigen.h>
-#endif
#include <cpu/amd/powernow.h>
#include "mcp55.h"