From dbac2b59128193b5c44b3587c75f09a560a2c426 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Mon, 13 Jul 2020 22:36:51 -0700 Subject: soc/amd/picasso: Move PMOD global variable to globalnvs.asl Global variable `PMOD` that stores the interrupt mode used by OS is required by all mainboards. This change moves the variable definition to globalnvs.asl under picasso. Additionally, ACPI spec says that BIOS should assume interrupt mode as PIC until _PIC() method is called by OS. Thus, this change also updates the default value of PMOD as 0 i.e. PIC mode. BUG=b:153879530 Signed-off-by: Furquan Shaikh Change-Id: I731c03d965882281a7a23f55894451210ba72274 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43514 Reviewed-by: Raul Rangel Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/amd/picasso/acpi/globalnvs.asl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc') diff --git a/src/soc/amd/picasso/acpi/globalnvs.asl b/src/soc/amd/picasso/acpi/globalnvs.asl index 3ab35df630..8147619ab5 100644 --- a/src/soc/amd/picasso/acpi/globalnvs.asl +++ b/src/soc/amd/picasso/acpi/globalnvs.asl @@ -1,5 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ +/* Global variables */ +Name (PMOD, Zero) /* Interrupt Mode used by OS. Assume PIC. */ + /* * NOTE: The layout of the GNVS structure below must match the layout in * soc/amd/picasso/include/soc/nvs.h !!! -- cgit v1.2.3