aboutsummaryrefslogtreecommitdiff
path: root/util/autoport/ec_fixme.go
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-09-16 16:23:46 +0800
committerHung-Te Lin <hungte@chromium.org>2020-12-17 06:23:30 +0000
commit16f213a499a033627a4897f808110759cf3d52fa (patch)
tree89a6ac7af5672d86d3d3f086750e2b9727798119 /util/autoport/ec_fixme.go
parent2e2fc7a4f0e9d14591ce2868840af3043d5147f3 (diff)
autoport: Add a license header to non-empty files
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>
Diffstat (limited to 'util/autoport/ec_fixme.go')
-rw-r--r--util/autoport/ec_fixme.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/autoport/ec_fixme.go b/util/autoport/ec_fixme.go
index f5d039cac4..54f78ab432 100644
--- a/util/autoport/ec_fixme.go
+++ b/util/autoport/ec_fixme.go
@@ -19,6 +19,7 @@ func FIXMEEC(ctx Context) {
SouthBridge.EnableGPE(SouthBridge.DecodeGPE(sbGPE))
}
+ Add_gpl(ap)
ap.WriteString(
`Method(_WAK, 1)
{
@@ -64,6 +65,7 @@ Method(_PTS,1)
defer si.Close()
if hasKeyboard {
+ Add_gpl(si)
si.WriteString("#include <drivers/pc80/pc/ps2_controller.asl>\n")
MainboardInit += fmt.Sprintf("\tpc_keyboard_init(NO_AUX_DEVICE);\n")
MainboardIncludes = append(MainboardIncludes, "pc80/keyboard.h")
@@ -72,6 +74,7 @@ Method(_PTS,1)
ec := Create(ctx, "acpi/ec.asl")
defer ec.Close()
+ Add_gpl(ec)
ec.WriteString(`Device(EC)
{
Name (_HID, EISAID("PNP0C09"))