mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
This is a copy of coreboot's autoport utility, with a patch applied to support Haswell/Lynx Point platforms. That patch is currently in review on coreboot's Gerrit. https://review.coreboot.org/c/coreboot/+/30890 Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
25 lines
314 B
Go
25 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()
|
|
}
|