[coreboot-gerrit] New patch to review for coreboot: 2bb333e autoport/ec_fixme: Fix error in resulting code.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Fri May 29 22:51:35 CEST 2015


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10373

-gerrit

commit 2bb333e80775436128d5749007d919bdc5ca1e76
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Fri May 29 21:51:54 2015 +0200

    autoport/ec_fixme: Fix error in resulting code.
    
    Change-Id: Icfa3874b8e3accb3aa3db44d0baa6b7b5a683b41
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 util/autoport/ec_fixme.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/util/autoport/ec_fixme.go b/util/autoport/ec_fixme.go
index 589a101..d7dff52 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")
 }



More information about the coreboot-gerrit mailing list