summaryrefslogtreecommitdiff
path: root/test/stress.c
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-11-03 14:52:49 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-05 01:28:37 +0000
commit899412aaf662619fbf66bbdc0398c7d69aebc482 (patch)
treec8f0a938571a25a60cdadec0789db6b5842cc28f /test/stress.c
parent1044b2dfac75e861f00e03bcfe3231506ca2ae93 (diff)
downloadchrome-ec-899412aaf662619fbf66bbdc0398c7d69aebc482.tar.gz
COIL: Rename CONFIG_I2C_CONTROLLER
Rename CONFIG_I2C_CONTROLLER and related comments. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ied6a1829bf54a5c9a32e6772982a4b8aa31aaf23 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2518659 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'test/stress.c')
-rw-r--r--test/stress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/stress.c b/test/stress.c
index d975e87a84..91a65197f8 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(int argc, char **argv)
{
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