summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/board.h
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2021-04-09 10:21:39 -0600
committerCommit Bot <commit-bot@chromium.org>2021-04-12 17:54:21 +0000
commitbd2b1eb38349dcc736c5ec6763abdeb87e48aa16 (patch)
treec1c939743baaa263171c4d5b524f1e4886e5b5ba /zephyr/shim/include/board.h
parentf334d6f9d4116eeb4999293108abf8fe147d6f83 (diff)
downloadchrome-ec-bd2b1eb38349dcc736c5ec6763abdeb87e48aa16.tar.gz
zephyr: Shell of driver ztest.
Create a shell of a test that can have many test suites for device drivers. Currently this test only checks that the EC_BATT_PRES_ODL can be read correctly by battery_is_present(). But it links in many device drivers and is a starting point for the next test. BUG=b:185118990 TEST=It is one BRANCH=none Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I07c8835015cbe0fec6aaf82f782400e894043a90 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2819029 Tested-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/shim/include/board.h')
-rw-r--r--zephyr/shim/include/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/shim/include/board.h b/zephyr/shim/include/board.h
index 3c12788663..df3ef33c0e 100644
--- a/zephyr/shim/include/board.h
+++ b/zephyr/shim/include/board.h
@@ -17,7 +17,7 @@
#endif
/* Include board specific i2c mapping if I2C is enabled. */
-#if defined(CONFIG_I2C) && !defined(CONFIG_ZTEST)
+#if defined(CONFIG_I2C)
#include "i2c/i2c.h"
#endif