diff options
author | Leah Rowe <vimuser@noreply.codeberg.org> | 2024-03-18 23:59:32 +0000 |
---|---|---|
committer | Leah Rowe <vimuser@noreply.codeberg.org> | 2024-03-18 23:59:32 +0000 |
commit | 457a7037d8f421fc16eb12656d54c32ca4d232ec (patch) | |
tree | a208e8ff3e8b628b1615918cbb55b6ce351cfe54 /util/autoport/ec_none.go | |
parent | c578fe56c36f94af5c51a1be27a1a1c4b57a4289 (diff) | |
parent | 8cba237086dfbb312a5913bb75eef4f6046aeae5 (diff) |
Merge pull request 'util: Import autoport with Haswell patches' (#195) from nic3-14159/lbmk:autoport-fork into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/195
Diffstat (limited to 'util/autoport/ec_none.go')
-rw-r--r-- | util/autoport/ec_none.go | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/util/autoport/ec_none.go b/util/autoport/ec_none.go new file mode 100644 index 00000000..bcb61bf0 --- /dev/null +++ b/util/autoport/ec_none.go @@ -0,0 +1,24 @@ +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() +} |