summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWenkai Du <wenkai.du@intel.com>2015-08-20 15:17:13 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-08-29 07:23:15 +0000
commit6cba16f6ef7b2a33634d6a6b5c5bf79db956edc7 (patch)
tree9aa597647fa0071d0f16bb48b3aa0ac8cf9dc782 /src
parenta3fa98a5d75d1dcde97090aaa2e5a617c72b4559 (diff)
downloadcoreboot-6cba16f6ef7b2a33634d6a6b5c5bf79db956edc7.tar.xz
intel/kunimitsu: add WP to gpio table
This is needed to fix error in depthcharge: src/vboot/util/flag.c:38 flag_fetch(): Don't have a gpio set up for flag 3. BUG=chrome-os-partner:44214 TEST=Verify depthcharge prints EC ID on boot up BRANCH=None Change-Id: Ia2d88b8427e54e2dc9e6c9abecc95fd7656abb66 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Original-Commit-Id: 142b156c72ceedfbd4bf3f54c0cb1128c0fad5a3 Original-Change-Id: I7e7a7d1b92bc1ee2c5ebac8de6946550ddd68a68 Original-Signed-off-by: Wenkai Du <wenkai.du@intel.com> Original-Reviewed-on: https://chromium-review.googlesource.com/294715 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11421 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/intel/kunimitsu/chromeos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/intel/kunimitsu/chromeos.c b/src/mainboard/intel/kunimitsu/chromeos.c
index 4447a6c6de..67677059de 100644
--- a/src/mainboard/intel/kunimitsu/chromeos.c
+++ b/src/mainboard/intel/kunimitsu/chromeos.c
@@ -39,6 +39,8 @@ void fill_lb_gpios(struct lb_gpios *gpios)
gpios->count = GPIO_COUNT;
gpio = gpios->gpios;
+ fill_lb_gpio(gpio++, -1, ACTIVE_HIGH, "write protect",
+ get_write_protect_state());
fill_lb_gpio(gpio++, -1, ACTIVE_HIGH, "recovery",
get_recovery_mode_switch());
fill_lb_gpio(gpio++, -1, ACTIVE_HIGH, "developer",