diff options
author | Shaunak Saha <shaunak.saha@intel.com> | 2017-07-18 00:19:33 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-09-08 19:01:04 +0000 |
commit | bd427803ab18576462c2c179c94ec0fec819221c (patch) | |
tree | a441902068336e7d83bd2ad94efc2153e00bd1a1 /src/soc/intel/common/acpi.h | |
parent | af896d071b5d0c6ffabc1f4a5cda1429fb6754b6 (diff) | |
download | coreboot-bd427803ab18576462c2c179c94ec0fec819221c.tar.xz |
soc/intel/common/block: Common ACPI
This patch adds the common acpi code.ACPI code is very similar
accross different intel chipsets.This patch is an effort to
move those code in common place so that it can be shared accross
different intel platforms instead of duplicating for each platform.
We are removing the common acpi files in src/soc/intel/common.
This removes the acpi.c file which was previously in
src/soc/common/acpi. The config for common acpi is
SOC_INTEL_COMMON_BLOCK_ACPI which can be defined in SOC's
Kconfig file in order to use the common ACPI code. This patch also
includes the changes in APL platform to use the common ACPI block.
TEST= Tested the patch as below:
1.Builds and system boots up with the patch.
2.Check all the ACPI tables are present in
/sys/firmware/acpi/tables
3.Check SCI's are properly working as we are
modifying the function to override madt.
4.Extract acpi tables like DSDT,APIC, FACP, FACS
and decompile the by iasl and compare with good
known tables.
5.Execute the extracted tables in aciexec to check
acpi methods are working properly.
Change-Id: Ib6eb6fd5366e6e28fd81bc22d050b0efa05a2e5d
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/20630
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src/soc/intel/common/acpi.h')
-rw-r--r-- | src/soc/intel/common/acpi.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/soc/intel/common/acpi.h b/src/soc/intel/common/acpi.h index 19ab92666b..4547204894 100644 --- a/src/soc/intel/common/acpi.h +++ b/src/soc/intel/common/acpi.h @@ -1,8 +1,4 @@ /* - * This file is part of the coreboot project. - * - * Copyright (C) 2015 Google Inc. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. @@ -29,24 +25,4 @@ */ int soc_fill_acpi_wake(uint32_t *pm1, uint32_t **gpe0); -#if IS_ENABLED(CONFIG_SOC_INTEL_COMMON_ACPI) - -/* - * get_cstate_map returns a table of processor specific acpi_cstate_t entries - * and number of entries in the table - */ -acpi_cstate_t *soc_get_cstate_map(int *num_entries); - -/* - * get_soc_tss_table returns a table of processor specific acpi_tstate_t entries - * and number of entries in the table - */ -acpi_tstate_t *soc_get_tss_table(int *num_entries); - -/* - * soc_get_acpi_base_address returns the ACPI base address for the SOC - */ -uint16_t soc_get_acpi_base_address(void); - #endif /* CONFIG_SOC_INTEL_COMMON_ACPI */ -#endif |