summaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake/acpi.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-17 08:54:20 +0300
committerNico Huber <nico.h@gmx.de>2021-01-10 11:16:26 +0000
commit81b8472237a1083f8c0224b10da90fd985f8fa9a (patch)
tree2265bf77f66831ff2efa379bfd3ff62f6bd7c4ad /src/soc/intel/alderlake/acpi.c
parent3139c8dc05a363810b4dd9c45f01667760e22a58 (diff)
ACPI: Drop redundant CONSOLE_CBMEM setup in GNVS
Already done from common gnvs_get_or_create() implementation after gnvs_cbmc_ptr() is defined. Change-Id: I77c292cd9590d7fc54d8b21ea62717a2d77e5ba4 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48702 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/alderlake/acpi.c')
-rw-r--r--src/soc/intel/alderlake/acpi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/alderlake/acpi.c b/src/soc/intel/alderlake/acpi.c
index ca5d726874..4ebe0d5102 100644
--- a/src/soc/intel/alderlake/acpi.c
+++ b/src/soc/intel/alderlake/acpi.c
@@ -289,10 +289,6 @@ void acpi_create_gnvs(struct global_nvs *gnvs)
/* CPU core count */
gnvs->pcnt = dev_count_cpu();
- if (CONFIG(CONSOLE_CBMEM))
- /* Update the mem console pointer. */
- gnvs->cbmc = (uintptr_t)cbmem_find(CBMEM_ID_CONSOLE);
-
if (CONFIG(CHROMEOS)) {
/* Initialize Verified Boot data */
chromeos_init_chromeos_acpi(&(gnvs->chromeos));