summaryrefslogtreecommitdiff
path: root/src/acpi
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-12 23:07:52 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-07-06 13:54:30 +0000
commitcde4f3b2790d52ef38106c7ba91eea5d53e03a93 (patch)
tree72d65b1474c3115d336fae45d6a5990638dfaaef /src/acpi
parenta52b93b262582009decf924dbdde9bc1bf856ddb (diff)
acpi/gnvs.c: Drop unused pointer to the cbmem console
Change-Id: I7e2018dbccead15fcd84e34df8207120d3a0c57c Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64303 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
Diffstat (limited to 'src/acpi')
-rw-r--r--src/acpi/gnvs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/acpi/gnvs.c b/src/acpi/gnvs.c
index d1bbb019cc..827cd2d5d4 100644
--- a/src/acpi/gnvs.c
+++ b/src/acpi/gnvs.c
@@ -31,8 +31,6 @@ static void acpi_create_gnvs(void *unused)
if (dnvs_size)
dnvs = (char *)gnvs + gnvs_size;
- if (CONFIG(CONSOLE_CBMEM))
- gnvs->cbmc = (uintptr_t)cbmem_find(CBMEM_ID_CONSOLE);
}
BOOT_STATE_INIT_ENTRY(BS_PRE_DEVICE, BS_ON_EXIT, acpi_create_gnvs, NULL);