From 5a87de86ae3119af13064b669465e51fffe676f4 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 1 Sep 2016 18:05:27 -0500 Subject: mainboard/google/reef: correct EC ASL includes The superio.asl wasn't being included within the right scope. Fix that as well as clean up the per-mainboard header includes to be in one place. BUG=chrome-os-partner:56677 Change-Id: I5e6a82f9f2e3c7455132263d19b32b2f06220376 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/16413 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Shaunak Saha --- src/mainboard/google/reef/acpi/ec.asl | 3 --- src/mainboard/google/reef/acpi/mainboard.asl | 3 ++- src/mainboard/google/reef/acpi/superio.asl | 3 --- 3 files changed, 2 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/mainboard/google/reef/acpi/ec.asl b/src/mainboard/google/reef/acpi/ec.asl index fe53cb5559..b70c070ce2 100644 --- a/src/mainboard/google/reef/acpi/ec.asl +++ b/src/mainboard/google/reef/acpi/ec.asl @@ -13,9 +13,6 @@ * GNU General Public License for more details. */ -/* mainboard configuration */ -#include "../ec.h" - /* Enable EC backed ALS device in ACPI */ #define EC_ENABLE_ALS_DEVICE diff --git a/src/mainboard/google/reef/acpi/mainboard.asl b/src/mainboard/google/reef/acpi/mainboard.asl index 9665bb291f..5bc82a13fe 100644 --- a/src/mainboard/google/reef/acpi/mainboard.asl +++ b/src/mainboard/google/reef/acpi/mainboard.asl @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include "acpi/superio.asl" +#include "../ec.h" #include "../gpio.h" Scope (\_SB) @@ -37,5 +37,6 @@ Scope (\_SB) Scope (\_SB.PCI0.LPCB) { /* Chrome OS Embedded Controller */ + #include "superio.asl" #include "ec.asl" } diff --git a/src/mainboard/google/reef/acpi/superio.asl b/src/mainboard/google/reef/acpi/superio.asl index d8ceddb4c8..555e2a24a6 100644 --- a/src/mainboard/google/reef/acpi/superio.asl +++ b/src/mainboard/google/reef/acpi/superio.asl @@ -13,9 +13,6 @@ * GNU General Public License for more details. */ -/* mainboard configuration */ -#include "../ec.h" - #define SIO_EC_MEMMAP_ENABLE // EC Memory Map Resources #define SIO_EC_HOST_ENABLE // EC Host Interface Resources #define SIO_EC_ENABLE_PS2K // Enable PS/2 Keyboard -- cgit v1.2.3