From 24316025756c6ccdccb06a35e0f343780ccfe0f0 Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Fri, 30 Oct 2015 18:22:28 -0700 Subject: cleanup: Standardize use of CONFIG_I2C and add MASTER/SLAVE CONFIGs Some chips previously defined CONFIG_I2C and others didn't. Standardize the usage by removing CONFIG_I2C from all config_chip files and force it to be defined at the board level. Also, make boards define CONFIG_I2C_MASTER and/or CONFIG_I2C_SLAVE based on the I2C interfaces they will use - this will assist with some later cleanup. BUG=chromium:550206 TEST=`make buildall -j` BRANCH=None Change-Id: I2f0970e494ea49611abc315587c7c9aa0bc2d14a Signed-off-by: Shawn Nematbakhsh Reviewed-on: https://chromium-review.googlesource.com/310070 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Alec Berg --- board/plankton/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/plankton') diff --git a/board/plankton/board.h b/board/plankton/board.h index 33f9165583..425216360a 100644 --- a/board/plankton/board.h +++ b/board/plankton/board.h @@ -33,6 +33,7 @@ #define CONFIG_ADC #define CONFIG_HW_CRC #define CONFIG_I2C +#define CONFIG_I2C_MASTER #define CONFIG_INA219 #define CONFIG_IO_EXPANDER_PCA9534 #undef CONFIG_WATCHDOG_HELP -- cgit v1.2.1