diff options
author | Joel Kitching <kitching@google.com> | 2018-08-17 15:15:02 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-08-22 15:32:30 +0000 |
commit | 5846d5727a05e395d13317daba049e0e56e15d33 (patch) | |
tree | 51f9e3027b8708891dabd9351bd45092de3f3581 /src/arch/x86/acpi.c | |
parent | 8f560d9b9c20c7e72b031e60cf0e828d7d27ec8e (diff) | |
download | coreboot-5846d5727a05e395d13317daba049e0e56e15d33.tar.xz |
acpi: remove CBMEM_ID_ACPI_GNVS_PTR entry
Since we can retrieve the address of ACPI GNVS directly
from CBMEM_ID_ACPI_GNVS, there is no need to store and
update a pointer separately.
TEST=Compile and run on Eve
Signed-off-by: Joel Kitching <kitching@google.com>
Change-Id: I59f3d0547a4a724e66617c791ad82c9f504cadea
Reviewed-on: https://review.coreboot.org/28189
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch/x86/acpi.c')
-rw-r--r-- | src/arch/x86/acpi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index 8d7579d41c..78eeaa7649 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -1252,13 +1252,6 @@ void *acpi_find_wakeup_vector(void) return wake_vec; } -void acpi_save_gnvs(u32 gnvs_address) -{ - u32 *gnvs = cbmem_add(CBMEM_ID_ACPI_GNVS_PTR, sizeof(*gnvs)); - if (gnvs) - *gnvs = gnvs_address; -} - __weak int acpi_get_gpe(int gpe) { return -1; /* implemented by SOC */ |