summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2018-03-07 14:38:33 +0100
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-03-08 03:29:53 +0000
commit67efe6a73a153607acea3b4788dc16b10847c498 (patch)
tree65ce21f383d239c3cc328bf1d3fe15b9c9f1d1d3
parent225df798cf259a9cfe39e7080c575bd335ee8755 (diff)
downloadvboot-stabilize-meowth-10444.B.tar.gz
crossystem: add support for CNL gpiochipstabilize-meowth-10444.B
On CNL systems, the pinctrl (gpiochip) driver label is "INT34BB:00". Declare it properly. BRANCH=none BUG=b:71722386 TEST=on Meowth, run 'crossystem wpsw_cur' and see '0' rather than an error. Change-Id: I74f3cce19afac9a76e8d3071426e79eb9bb11db9 Reviewed-on: https://chromium-review.googlesource.com/951789 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> (cherry picked from commit b739f6163c8a27d988d9e5631df8a42b1c9c478e) Reviewed-on: https://chromium-review.googlesource.com/954662 Reviewed-by: Shen-En Shih <petershih@chromium.org> Commit-Queue: Benson Leung <bleung@google.com> Tested-by: Benson Leung <bleung@google.com> Trybot-Ready: Benson Leung <bleung@google.com>
-rw-r--r--host/arch/x86/lib/crossystem_arch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/arch/x86/lib/crossystem_arch.c b/host/arch/x86/lib/crossystem_arch.c
index f026a14f..8b859bd6 100644
--- a/host/arch/x86/lib/crossystem_arch.c
+++ b/host/arch/x86/lib/crossystem_arch.c
@@ -669,6 +669,7 @@ static const struct GpioChipset chipsets_supported[] = {
{ "INT3452:01", FindGpioChipOffsetByLabel },
{ "INT3452:02", FindGpioChipOffsetByLabel },
{ "INT3452:03", FindGpioChipOffsetByLabel },
+ { "INT34BB:00", FindGpioChipOffsetByLabel },
{ "BayTrail", BayTrailFindGpioChipOffset },
{ "Braswell", BraswellFindGpioChipOffset },
{ NULL },