summaryrefslogtreecommitdiff
path: root/board/host/board.c
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2021-04-10 08:22:05 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-17 01:08:19 +0000
commit6bb2d508988e9725e41915d430e1feb21fe68534 (patch)
tree0aab84e31b96838b017bdb238c2cfde57ac72c61 /board/host/board.c
parent2252a56cd80adb017614c35fe1a27716cc0046f8 (diff)
downloadchrome-ec-6bb2d508988e9725e41915d430e1feb21fe68534.tar.gz
PCHG: Fuzz PCHG and ctn730 driver
This patch adds a fuzz test for PCHG and ctn730 driver. With the given corpus, the test currently reaches all the normal mode states. BUG=b:190841496 BRANCH=trogdor TEST=make run-pchg_fuzz TEST=pchg_fuzz.exe -seed=1 -runs=1000000 -dict=fuzz/pchg_fuzz.corpus Change-Id: I6eedbbbdbf3396dfa2b98ca302e16d142ea251d5 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2956076
Diffstat (limited to 'board/host/board.c')
-rw-r--r--board/host/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/host/board.c b/board/host/board.c
index 2253475dde..b59b570d52 100644
--- a/board/host/board.c
+++ b/board/host/board.c
@@ -69,6 +69,8 @@ const struct i2c_port_t i2c_ports[] = {
{"tcpc", I2C_PORT_HOST_TCPC, 100, 0, 0},
#elif defined I2C_PORT_EEPROM
{"eeprom", I2C_PORT_EEPROM, 100, 0, 0},
+#elif defined I2C_PORT_WLC
+ {"wlc", I2C_PORT_WLC, 100, 0, 0},
#endif
};