From f6f1215cdbbae04de8f84654d064b376395cf203 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 29 Dec 2020 09:04:30 +0200 Subject: sb,soc/intel: Drop OSYS from GNVS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The value should be set by OSPM using some combination of _OSI() queris in the \_SB._INI() method. To maintain previous behaviour with this commit, boards where GNVS osys initialisation was removed now do the same in ASL. Change-Id: Id4957b12a72fbf7fa988e7ff039e47abcc072e1c Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/49353 Reviewed-by: Arthur Heymans Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c | 9 --------- src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c (limited to 'src/mainboard/gigabyte/ga-g41m-es2l') diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c b/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c deleted file mode 100644 index cd44ed207b..0000000000 --- a/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c +++ /dev/null @@ -1,9 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include -#include - -void mainboard_fill_gnvs(struct global_nvs *gnvs) -{ - gnvs->osys = 2002; /* At least WINXP SP2 (HPET fix) */ -} diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl b/src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl index 12c14f7a71..2ed7aeb6a6 100644 --- a/src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl +++ b/src/mainboard/gigabyte/ga-g41m-es2l/dsdt.asl @@ -11,6 +11,8 @@ DefinitionBlock( ) { #include + + OSYS = 2002 // global NVS and variables #include #include -- cgit v1.2.3