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>
This commit is contained in:
Frans Hendriks 2019-04-26 15:37:21 +02:00 committed by Nico Huber
parent a1b187ab29
commit bac27d5ebb
3 changed files with 2 additions and 4 deletions

View File

@ -42,6 +42,7 @@ DefinitionBlock(
#else
#include <acpi/dptf/cpu.asl>
#endif
#include <acpi/lpe.asl>
}
/* Dynamic Platform Thermal Framework */

View File

@ -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 */

View File

@ -286,7 +286,4 @@ Scope (\_SB.PCI0)
/* SCC Devices */
#include "scc.asl"
/* LPE Device */
#include "lpe.asl"
}