diff options
author | Furquan Shaikh <furquan@google.com> | 2020-05-02 10:24:23 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2020-05-02 18:45:16 +0000 |
commit | 76cedd2c292352d7dbd45fab70ec272e476d0910 (patch) | |
tree | 21fa0e33a2324e2ab93f38a90f6efd1a49ecdd76 /src/include | |
parent | e0844636aca974449c7257e846ec816db683d0b9 (diff) |
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 <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40938
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/acpi/acpi_pld.h | 2 | ||||
-rw-r--r-- | src/include/acpi/acpigen.h | 6 | ||||
-rw-r--r-- | src/include/device/azalia_device.h | 2 | ||||
-rw-r--r-- | src/include/device/pci_rom.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/include/acpi/acpi_pld.h b/src/include/acpi/acpi_pld.h index 944eb3154a..c518077597 100644 --- a/src/include/acpi/acpi_pld.h +++ b/src/include/acpi/acpi_pld.h @@ -4,7 +4,7 @@ #ifndef __ACPI_PLD_H #define __ACPI_PLD_H -#include <arch/acpi.h> +#include <acpi/acpi.h> #include <stdint.h> enum acpi_pld_panel { diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index a3c4777afb..005ec6b096 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -5,9 +5,9 @@ #define LIBACPI_H #include <stdint.h> -#include <arch/acpi.h> -#include <arch/acpi_device.h> -#include <arch/acpi_pld.h> +#include <acpi/acpi.h> +#include <acpi/acpi_device.h> +#include <acpi/acpi_pld.h> #include <device/pci_type.h> /* Values that can be returned for ACPI Device _STA method */ diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h index 3c8e76e7ef..a787efe889 100644 --- a/src/include/device/azalia_device.h +++ b/src/include/device/azalia_device.h @@ -5,7 +5,7 @@ #define DEVICE_AZALIA_H #include <types.h> -#include <arch/acpi.h> +#include <acpi/acpi.h> #include <device/mmio.h> #include <device/device.h> diff --git a/src/include/device/pci_rom.h b/src/include/device/pci_rom.h index 6b6fee2c44..c49389f396 100644 --- a/src/include/device/pci_rom.h +++ b/src/include/device/pci_rom.h @@ -2,7 +2,7 @@ #define PCI_ROM_H #include <endian.h> #include <stddef.h> -#include <arch/acpi.h> +#include <acpi/acpi.h> #define PCI_ROM_HDR 0xAA55 #define PCI_DATA_HDR ((uint32_t) (('R' << 24) | ('I' << 16) | ('C' << 8) | 'P')) |