From 76cedd2c292352d7dbd45fab70ec272e476d0910 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Sat, 2 May 2020 10:24:23 -0700 Subject: acpi: Move ACPI table support out of arch/x86 (3/5) This change moves all ACPI table support in coreboot currently living under arch/x86 into common code to make it architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory. In order to make it easier to review, this change is being split into multiple CLs. This is change 3/5 which basically is generated by running the following command: $ git grep -iIl "arch/acpi" | xargs sed -i 's/arch\/acpi/acpi\/acpi/g' BUG=b:155428745 Change-Id: I16b1c45d954d6440fb9db1d3710063a47b582eae Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/40938 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/acpi/acpi.c | 6 +++--- src/acpi/acpi_device.c | 6 +++--- src/acpi/acpi_pld.c | 4 ++-- src/acpi/acpigen.c | 2 +- src/acpi/acpigen_dsm.c | 4 ++-- src/acpi/acpigen_ps2_keybd.c | 6 +++--- src/acpi/sata.c | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) (limited to 'src/acpi') diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index 8e7b51d79d..d5b2c6b274 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -16,9 +16,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/src/acpi/acpi_device.c b/src/acpi/acpi_device.c index 9f63200121..6b067f3a0f 100644 --- a/src/acpi/acpi_device.c +++ b/src/acpi/acpi_device.c @@ -3,9 +3,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/src/acpi/acpi_pld.c b/src/acpi/acpi_pld.c index 135009a243..a2d0dd7fe7 100644 --- a/src/acpi/acpi_pld.c +++ b/src/acpi/acpi_pld.c @@ -3,8 +3,8 @@ #include #include -#include -#include +#include +#include int acpi_pld_fill_usb(struct acpi_pld *pld, enum acpi_upc_type type, struct acpi_pld_group *group) diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c index dfc2a5adf4..a2dc84f799 100644 --- a/src/acpi/acpigen.c +++ b/src/acpi/acpigen.c @@ -13,7 +13,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/acpi/acpigen_dsm.c b/src/acpi/acpigen_dsm.c index ecac3fefb8..b7b2a0bf18 100644 --- a/src/acpi/acpigen_dsm.c +++ b/src/acpi/acpigen_dsm.c @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */ -#include -#include +#include +#include /* ------------------- I2C HID DSM ---------------------------- */ diff --git a/src/acpi/acpigen_ps2_keybd.c b/src/acpi/acpigen_ps2_keybd.c index 7943f9a158..be8d2eb999 100644 --- a/src/acpi/acpigen_ps2_keybd.c +++ b/src/acpi/acpigen_ps2_keybd.c @@ -4,9 +4,9 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/acpi/sata.c b/src/acpi/sata.c index f2b381124e..f2f53e6f64 100644 --- a/src/acpi/sata.c +++ b/src/acpi/sata.c @@ -3,8 +3,8 @@ #include "sata.h" -#include -#include +#include +#include /* e.g. * generate_sata_ssdt_ports("\_SB.PCI0.SATA", 0x3); -- cgit v1.2.3