summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2018-03-07 14:38:33 +0100
committerchrome-bot <chrome-bot@chromium.org>2018-03-07 16:55:38 -0800
commitb739f6163c8a27d988d9e5631df8a42b1c9c478e (patch)
treee1604aa38fd37c8daf58cc4d3e89f9db6b4e079a
parenta80a79f9f5ca0250eb31330d9dfdacf3a250efb0 (diff)
downloadvboot-b739f6163c8a27d988d9e5631df8a42b1c9c478e.tar.gz
crossystem: add support for CNL gpiochip
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>
-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 4921119e..78ee0d68 100644
--- a/host/arch/x86/lib/crossystem_arch.c
+++ b/host/arch/x86/lib/crossystem_arch.c
@@ -671,6 +671,7 @@ static const struct GpioChipset chipsets_supported[] = {
{ "INT3452:01", FindGpioChipOffsetByLabel },
{ "INT3452:02", FindGpioChipOffsetByLabel },
{ "INT3452:03", FindGpioChipOffsetByLabel },
+ { "INT34BB:00", FindGpioChipOffsetByLabel },
{ "BayTrail", BayTrailFindGpioChipOffset },
{ "Braswell", BraswellFindGpioChipOffset },
{ NULL },