sb/intel/lynxpoint: Align LP GPIO ACPI with Broadwell
Move the `GWAK` method into the GPIO device, and have lpc.c include the LP GPIO code. All usages of `GWAK` on mainboards need to be updated. Change-Id: Id6a41f553d133f960de8b232205ed43b832a83d2 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46775 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -51,10 +51,7 @@ Device (GPIO)
|
||||
Return (0x0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Scope (\_SB.PCI0.LPCB)
|
||||
{
|
||||
// GWAK: Setup GPIO as ACPI GPE for Wake
|
||||
// Arg0: GPIO Number
|
||||
Method (GWAK, 1, NotSerialized)
|
||||
|
@@ -199,5 +199,8 @@ Device (LPCB)
|
||||
})
|
||||
}
|
||||
|
||||
#if CONFIG(INTEL_LYNXPOINT_LP)
|
||||
#include "gpio.asl"
|
||||
#endif
|
||||
#include "acpi/superio.asl"
|
||||
}
|
||||
|
@@ -76,7 +76,6 @@ Scope (\)
|
||||
// Serial IO
|
||||
#if CONFIG(INTEL_LYNXPOINT_LP)
|
||||
#include "serialio.asl"
|
||||
#include "gpio.asl"
|
||||
#endif
|
||||
|
||||
Method (_OSC, 4)
|
||||
|
Reference in New Issue
Block a user