summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/acpi.c
diff options
context:
space:
mode:
authorBarnali Sarkar <barnali.sarkar@intel.com>2017-06-05 20:01:14 +0530
committerAaron Durbin <adurbin@chromium.org>2017-06-09 19:27:14 +0200
commit9e55ff6a879ee6eb96988e52020c4c20a4898c4f (patch)
treea002c8c99a306cc25b0e8de5622af646aee76535 /src/soc/intel/apollolake/acpi.c
parentf004f66ca7b0c428c04d6025738319187cf911fe (diff)
soc/intel/apollolake: Rename ACPI Base Address and Size Macro
Rename these two Macros to help use Common Code - ACPI_PMIO_BASE --> ACPI_BASE_ADDRESS ACPI_PMIO_SIZE --> ACPI_BASE_SIZE Change-Id: I21125b7206c241692cfdf1cdb10b8b3dee62b24a Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com> Reviewed-on: https://review.coreboot.org/20038 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/apollolake/acpi.c')
-rw-r--r--src/soc/intel/apollolake/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c
index 6588488e5f..1826b48458 100644
--- a/src/soc/intel/apollolake/acpi.c
+++ b/src/soc/intel/apollolake/acpi.c
@@ -85,7 +85,7 @@ unsigned long acpi_fill_madt(unsigned long current)
void acpi_fill_fadt(acpi_fadt_t *fadt)
{
- const uint16_t pmbase = ACPI_PMIO_BASE;
+ const uint16_t pmbase = ACPI_BASE_ADDRESS;
/* Use ACPI 3.0 revision. */
fadt->header.revision = ACPI_FADT_REV_ACPI_3_0;
@@ -275,7 +275,7 @@ acpi_cstate_t *soc_get_cstate_map(int *entries)
uint16_t soc_get_acpi_base_address(void)
{
- return ACPI_PMIO_BASE;
+ return ACPI_BASE_ADDRESS;
}
static void acpigen_soc_get_dw0_in_local5(uintptr_t addr)