diff options
author | Jianjun Wang <jianjun.wang@mediatek.com> | 2022-03-02 10:20:26 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2022-03-08 08:25:36 +0000 |
commit | 8565b94a5396f8112a9b86c1c7529217dd603c17 (patch) | |
tree | 27e54396d7816d924b95660401a11c0424752eb7 /src/acpi | |
parent | 0e834a94556854751a321d28acf20605c75aa4da (diff) |
device/mmio.h: Move readXp/writeXp helpers to device/mmio.h
These helpers are not architecture dependent and it might be used for
different platform.
Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
Change-Id: Ic13a94d91affb7cf65a2f22f08ea39ed671bc8e8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62561
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi')
-rw-r--r-- | src/acpi/acpi.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index f7545b2e37..e03c7f4913 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -13,22 +13,22 @@ * in coreboot. */ -#include <console/console.h> -#include <string.h> #include <acpi/acpi.h> #include <acpi/acpi_ivrs.h> #include <acpi/acpigen.h> #include <arch/hpet.h> -#include <arch/mmio.h> -#include <device/pci.h> +#include <cbfs.h> #include <cbmem.h> #include <commonlib/helpers.h> +#include <commonlib/sort.h> +#include <console/console.h> #include <cpu/cpu.h> -#include <cbfs.h> +#include <device/mmio.h> +#include <device/pci.h> +#include <pc80/mc146818rtc.h> +#include <string.h> #include <types.h> #include <version.h> -#include <commonlib/sort.h> -#include <pc80/mc146818rtc.h> static acpi_rsdp_t *valid_rsdp(acpi_rsdp_t *rsdp); |