16f213a499
Change-Id: I8078d8babf24feabb22856ee820ab45b7d466f62 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45464 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
24 lines
314 B
Go
24 lines
314 B
Go
package main
|
|
|
|
func NoEC(ctx Context) {
|
|
ap := Create(ctx, "acpi/platform.asl")
|
|
defer ap.Close()
|
|
|
|
Add_gpl(ap)
|
|
ap.WriteString(
|
|
`Method(_WAK, 1)
|
|
{
|
|
Return(Package() {0, 0})
|
|
}
|
|
|
|
Method(_PTS, 1)
|
|
{
|
|
}
|
|
`)
|
|
|
|
si := Create(ctx, "acpi/superio.asl")
|
|
defer si.Close()
|
|
|
|
ec := Create(ctx, "acpi/ec.asl")
|
|
defer ec.Close()
|
|
}
|