From 2151f7561d728a9280d69d20ef56a9fe44db7cb1 Mon Sep 17 00:00:00 2001 From: V Sowmya Date: Wed, 20 Jan 2021 08:00:26 +0530 Subject: [PATCH] mb/intel/shadowmountain: Add the ASL code This patch includes the DSDT ASL code for shadowmountain board. BUG=b:175808146 TEST= Boot shadowmountain board, dump and verify the DSDT ASL entries. Signed-off-by: V Sowmya Change-Id: I511b2d23c424b0565ad1abcc3b41cace1b89936e Reviewed-on: https://review.coreboot.org/c/coreboot/+/49733 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/mainboard/intel/shadowmountain/dsdt.asl | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/mainboard/intel/shadowmountain/dsdt.asl b/src/mainboard/intel/shadowmountain/dsdt.asl index c8dc9ee2c3..f94ad378c9 100644 --- a/src/mainboard/intel/shadowmountain/dsdt.asl +++ b/src/mainboard/intel/shadowmountain/dsdt.asl @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ #include +#include +#include DefinitionBlock( "dsdt.aml", @@ -12,4 +14,31 @@ DefinitionBlock( ) { #include + #include + + /* global NVS and variables */ + #include + + /* CPU */ + #include + + Scope (\_SB) { + Device (PCI0) + { + #include + #include + #include + } + } + + /* Chrome OS Embedded Controller */ + Scope (\_SB.PCI0.LPCB) + { + // ACPI code for EC SuperIO functions + #include + // ACPI code for EC functions + #include + } + + #include }