summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-05-07 11:31:33 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-11-24 16:10:08 +0100
commit58181124f656af4362395765933ab7747aaba8b4 (patch)
treecbd5257d70ba78fec2a40e66b93ec9bb19442082 /src
parent5b4178575f65715c168989bf3e0719d99fccd366 (diff)
haswell: Update ChromeOS ACPI GPIO package
The chromeos_acpi driver sysfs naming is not what crossystem expects if there is just one entry in the package because it does not add a ".#" suffix in that case. Specify all the expected GPIOs on wtm2 as undefined, which should be 0xFF and not 0x00 becuase 0 is a valid GPIO. Change-Id: I9b17e9bab94219695e65b17914c84acf02a0983b Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/50337 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/4162 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/intel/baskingridge/acpi/chromeos.asl6
-rw-r--r--src/mainboard/intel/wtm2/acpi/chromeos.asl5
2 files changed, 6 insertions, 5 deletions
diff --git a/src/mainboard/intel/baskingridge/acpi/chromeos.asl b/src/mainboard/intel/baskingridge/acpi/chromeos.asl
index 307e2e2cd9..da4fb40133 100644
--- a/src/mainboard/intel/baskingridge/acpi/chromeos.asl
+++ b/src/mainboard/intel/baskingridge/acpi/chromeos.asl
@@ -18,7 +18,7 @@
*/
Name(OIPG, Package() {
- Package() { 0x001, 0, 22, "CougarPoint" }, // recovery button
- Package() { 0x002, 1, 57, "CougarPoint" }, // developer switch
- Package() { 0x003, 0, 48, "CougarPoint" }, // firmware write protect
+ Package () { 0x0001, 1, 69, "LynxPoint" }, // recovery
+ Package () { 0x0002, 0, 48, "LynxPoint" }, // developer
+ Package () { 0x0003, 0, 22, "LynxPoint" }, // firmware write protect
})
diff --git a/src/mainboard/intel/wtm2/acpi/chromeos.asl b/src/mainboard/intel/wtm2/acpi/chromeos.asl
index c6b258b4e2..40ffcf0156 100644
--- a/src/mainboard/intel/wtm2/acpi/chromeos.asl
+++ b/src/mainboard/intel/wtm2/acpi/chromeos.asl
@@ -18,6 +18,7 @@
*/
Name(OIPG, Package() {
- // This GPIO is not available but the package cannot be empty
- Package () { 0x0001, 0, 0, "LynxPoint" }, // recovery
+ Package () { 0x0001, 0, 0xFF, "LynxPoint" }, // recovery
+ Package () { 0x0002, 0, 0xFF, "LynxPoint" }, // developer
+ Package () { 0x0003, 0, 0xFF, "LynxPoint" }, // firmware write protect
})