summaryrefslogtreecommitdiff
path: root/util/autoport
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2015-05-29 21:51:54 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2015-05-30 13:53:54 +0200
commit5868ab45885ba756da3ec32b97e5b9e302fad3e8 (patch)
tree874eb785c03784d66d01887b1772786bd77de0c7 /util/autoport
parent2d615e58dad5436db929f36a051e106a2ea87cea (diff)
downloadcoreboot-5868ab45885ba756da3ec32b97e5b9e302fad3e8.tar.xz
autoport/ec_fixme: Fix error in resulting code.
Change-Id: Icfa3874b8e3accb3aa3db44d0baa6b7b5a683b41 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10373 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Diffstat (limited to 'util/autoport')
-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 589a101a78..d7dff52770 100644
--- a/util/autoport/ec_fixme.go
+++ b/util/autoport/ec_fixme.go
@@ -34,6 +34,7 @@ Method(_PTS,1)
ecs := ctx.InfoSource.GetEC()
MainboardIncludes = append(MainboardIncludes, "ec/acpi/ec.h")
+ MainboardIncludes = append(MainboardIncludes, "console/console.h")
MainboardInit +=
` /* FIXME: trim this down or remove if necessary */
@@ -58,6 +59,7 @@ Method(_PTS,1)
}
`
+ KconfigBool["EC_ACPI"] = true
si := Create(ctx, "acpi/superio.asl")
defer si.Close()
@@ -82,4 +84,5 @@ Method(_PTS,1)
fmt.Fprintf(ec, "\tName (_GPE, %d)\n", sbGPE)
}
ec.WriteString("/* FIXME: EC support */\n")
+ ec.WriteString("}\n")
}