aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/denverton_ns/acpi.c
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2019-11-04 22:07:29 +0100
committerNico Huber <nico.h@gmx.de>2019-11-11 13:21:02 +0000
commit46e68ac99adb0a7c83c39842679636081c4d77a9 (patch)
tree8f9fc4825fa71196300283ce1fe7d1c858cbfa75 /src/soc/intel/denverton_ns/acpi.c
parent0cc619bedc89aaef17715ba092c9ab2191d425eb (diff)
soc/intel/denverton_ns: make use of common cbmem_top_chipset
This replaces denverton_ns's own implementation of cbmem_top_chipset and selects the common code one. Change-Id: Idae96aabe2807e465bb7ab0f29910757d0346ce9 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36619 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: David Guckian Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/denverton_ns/acpi.c')
-rw-r--r--src/soc/intel/denverton_ns/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/denverton_ns/acpi.c b/src/soc/intel/denverton_ns/acpi.c
index e969a044a1..48b67b089d 100644
--- a/src/soc/intel/denverton_ns/acpi.c
+++ b/src/soc/intel/denverton_ns/acpi.c
@@ -81,7 +81,7 @@ void acpi_init_gnvs(global_nvs_t *gnvs)
gnvs->pcnt = dev_count_cpu();
/* Top of Low Memory (start of resource allocation) */
- gnvs->tolm = top_of_32bit_ram();
+ gnvs->tolm = (uintptr_t)cbmem_top();
#if CONFIG(CONSOLE_CBMEM)
/* Update the mem console pointer. */