summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-29 03:23:16 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-07-26 20:59:02 +0000
commitf1a18b20bbbcd42555fa5341d9aac8d898ff0530 (patch)
treeb5a2d6f3081056102a444ec07af67c66a126f6e1 /src/mainboard
parent1d6484a858573a029a492415b4ee99414ef45789 (diff)
mb/x/acpi_tables: Do minor cleanup on includes
Change-Id: I7a6ddf95d085490d52e00ade7bac23e8c8849427 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42865 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/intel/harcuvar/acpi_tables.c2
-rw-r--r--src/mainboard/ocp/tiogapass/acpi_tables.c5
-rw-r--r--src/mainboard/scaleway/tagada/acpi_tables.c6
3 files changed, 1 insertions, 12 deletions
diff --git a/src/mainboard/intel/harcuvar/acpi_tables.c b/src/mainboard/intel/harcuvar/acpi_tables.c
index c51bd69872..821de5f5ec 100644
--- a/src/mainboard/intel/harcuvar/acpi_tables.c
+++ b/src/mainboard/intel/harcuvar/acpi_tables.c
@@ -8,8 +8,6 @@
#include <soc/acpi.h>
#include <soc/nvs.h>
-extern const unsigned char AmlCode[];
-
void acpi_create_gnvs(struct global_nvs *gnvs)
{
acpi_init_gnvs(gnvs);
diff --git a/src/mainboard/ocp/tiogapass/acpi_tables.c b/src/mainboard/ocp/tiogapass/acpi_tables.c
index f6947a20b8..300e8f6278 100644
--- a/src/mainboard/ocp/tiogapass/acpi_tables.c
+++ b/src/mainboard/ocp/tiogapass/acpi_tables.c
@@ -1,10 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <acpi/acpi.h>
#include <acpi/acpi_gnvs.h>
-#include <intelblocks/acpi.h>
-#include <soc/acpi.h>
-
-extern const unsigned char AmlCode[];
void acpi_create_gnvs(struct global_nvs *gnvs)
{
diff --git a/src/mainboard/scaleway/tagada/acpi_tables.c b/src/mainboard/scaleway/tagada/acpi_tables.c
index c51bd69872..a251d22546 100644
--- a/src/mainboard/scaleway/tagada/acpi_tables.c
+++ b/src/mainboard/scaleway/tagada/acpi_tables.c
@@ -2,14 +2,8 @@
#include <acpi/acpi.h>
#include <acpi/acpi_gnvs.h>
-#include <device/device.h>
-
-#include <intelblocks/acpi.h>
-#include <soc/acpi.h>
#include <soc/nvs.h>
-extern const unsigned char AmlCode[];
-
void acpi_create_gnvs(struct global_nvs *gnvs)
{
acpi_init_gnvs(gnvs);