summaryrefslogtreecommitdiff
path: root/board/glados_pd
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-10-16 11:07:01 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-10-19 15:15:36 -0700
commit8acea1ec3970fe5b829d2b06ba32529c9d5ccb6a (patch)
tree254b318ca27140f61af8de39f35e2cd86af1dd5e /board/glados_pd
parent4c8553dfb13d8046a32b833321826aade31a0264 (diff)
downloadchrome-ec-8acea1ec3970fe5b829d2b06ba32529c9d5ccb6a.tar.gz
glados_pd: oak_pd: add and enable option for i2c slave only
Add CONFIG_I2C_SLAVE_ONLY for boards that only operate as a slave on i2c. BUG=chrome-os-partner:41959 BRANCH=none TEST=make BOARD=glados_pd and see 2kB flash savings Change-Id: I30831ce48b391d985c25e266229d5c6f2312042b Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/306783 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/glados_pd')
-rw-r--r--board/glados_pd/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/glados_pd/board.h b/board/glados_pd/board.h
index 508594839c..0713997921 100644
--- a/board/glados_pd/board.h
+++ b/board/glados_pd/board.h
@@ -40,6 +40,7 @@
#undef CONFIG_HOSTCMD_EVENTS
#define CONFIG_HW_CRC
#define CONFIG_I2C
+#define CONFIG_I2C_SLAVE_ONLY
#undef CONFIG_LID_SWITCH
#define CONFIG_LOW_POWER_IDLE
#define CONFIG_STM_HWTIMER32