summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2019-03-27 17:58:32 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-04-05 03:53:04 -0700
commitc0814644b003412ac81b83068028749fe8a0ae76 (patch)
tree62117e6e472b77a19a56f69dbc5d5ea8b6ce2841 /include/config.h
parented230bf3f5ab05a2e09d4eb88d66cff4b3a856b2 (diff)
downloadchrome-ec-c0814644b003412ac81b83068028749fe8a0ae76.tar.gz
gpio: add config option for using gpio_get_flags
Separate gpio_get_flags from the CONFIG_CMD_GPIO_EXTENDED, so we can enable getting the gpio flags without enabling the ability to set them. BUG=none BRANCH=cr50 TEST=none Change-Id: Ib8e3a13fdcfe8ebec4523eb070b2425b5dc28278 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1542798 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 5a62cb5728..aaf134c02f 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1803,6 +1803,9 @@
*/
#undef CONFIG_GPIO_INIT_POWER_ON_DELAY_MS
+/* Support getting gpio flags. */
+#undef CONFIG_GPIO_GET_EXTENDED
+
/* Do we want to detect the lid angle? */
#undef CONFIG_LID_ANGLE