summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2019-04-26 15:37:21 +0200
committerNico Huber <nico.h@gmx.de>2019-04-29 08:35:20 +0000
commitbac27d5ebbc9114df2e6e43e45bfe3f2b6613e06 (patch)
treef5c32673c4ea82c3e94c97f9e2f532d5ea2f37c1
parenta1b187ab29f16532de413e2d315728cd01d9afca (diff)
soc/intel/braswell: Move LPE ACPI code to mainboard
The ACPI code of LPE device is included regardless of the availability of the LPE controller. Linux remains requesting the status of device LPEA even if this device is disabled. Include ACPI LPE controller code at Braswell mainboards with LPE enabled. BUG=N/A TEST=Linux 4.17+ on Portwell PQ7-M107 Change-Id: Ic8acf9ea9e9b0ba9b272e20beb2023b7a4716a73 Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/29414 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
-rw-r--r--src/mainboard/google/cyan/dsdt.asl1
-rw-r--r--src/mainboard/intel/strago/dsdt.asl2
-rw-r--r--src/soc/intel/braswell/acpi/southcluster.asl3
3 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/google/cyan/dsdt.asl b/src/mainboard/google/cyan/dsdt.asl
index 397f6d2637..3afdaaab55 100644
--- a/src/mainboard/google/cyan/dsdt.asl
+++ b/src/mainboard/google/cyan/dsdt.asl
@@ -42,6 +42,7 @@ DefinitionBlock(
#else
#include <acpi/dptf/cpu.asl>
#endif
+ #include <acpi/lpe.asl>
}
/* Dynamic Platform Thermal Framework */
diff --git a/src/mainboard/intel/strago/dsdt.asl b/src/mainboard/intel/strago/dsdt.asl
index c8be3cea17..5052ba265c 100644
--- a/src/mainboard/intel/strago/dsdt.asl
+++ b/src/mainboard/intel/strago/dsdt.asl
@@ -15,7 +15,6 @@
* GNU General Public License for more details.
*/
-
#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
@@ -39,6 +38,7 @@ DefinitionBlock(
{
#include <acpi/southcluster.asl>
#include <acpi/dptf/cpu.asl>
+ #include <acpi/lpe.asl>
}
/* Dynamic Platform Thermal Framework */
diff --git a/src/soc/intel/braswell/acpi/southcluster.asl b/src/soc/intel/braswell/acpi/southcluster.asl
index f7e3168126..9ecf67a971 100644
--- a/src/soc/intel/braswell/acpi/southcluster.asl
+++ b/src/soc/intel/braswell/acpi/southcluster.asl
@@ -286,7 +286,4 @@ Scope (\_SB.PCI0)
/* SCC Devices */
#include "scc.asl"
-
- /* LPE Device */
- #include "lpe.asl"
}