diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-01-05 16:54:53 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-07 19:21:46 +0000 |
commit | 74d1673daa17d9503f21cdf86bfd552873d1aefa (patch) | |
tree | 8167f8bfb7a493bb203ef89ef8cb5c311fb3218a /test | |
parent | 96dd761f8a9a2858eb205efaf3bfa1352333f347 (diff) | |
download | chrome-ec-74d1673daa17d9503f21cdf86bfd552873d1aefa.tar.gz |
coil: CONFIG_I2C_MASTER -> CONFIG_I2C_CONTROLLER
BUG=b:175244613
TEST=make buildall -j
Change-Id: I74900cd9113c12e5e08a0770e30f3abf69816302
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2611757
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/stress.c | 4 | ||||
-rw-r--r-- | test/test_config.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/stress.c b/test/stress.c index 3808cc2bd1..442c4b498e 100644 --- a/test/stress.c +++ b/test/stress.c @@ -75,7 +75,7 @@ static int stress(const char *name, /*****************************************************************************/ /* Tests */ -#ifdef CONFIG_I2C_MASTER +#ifdef CONFIG_I2C_CONTROLLER static int test_i2c(void) { int res = EC_ERROR_UNKNOWN; @@ -132,7 +132,7 @@ void run_test(void) { test_reset(); -#ifdef CONFIG_I2C_MASTER +#ifdef CONFIG_I2C_CONTROLLER RUN_STRESS_TEST("I2C Stress Test", test_i2c, I2C_TEST_ITERATION); #endif #ifdef CONFIG_ADC diff --git a/test/test_config.h b/test/test_config.h index 6afb8f6417..75ca65a6c3 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -112,7 +112,7 @@ #define CONFIG_CHIPSET_CAN_THROTTLE #define CONFIG_FANS 1 #define CONFIG_I2C -#define CONFIG_I2C_MASTER +#define CONFIG_I2C_CONTROLLER #define CONFIG_TEMP_SENSOR #define CONFIG_THROTTLE_AP #define CONFIG_THERMISTOR |