summaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/Makefile
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2022-05-18 17:18:11 +0800
committerTzung-Bi Shih <tzungbi@kernel.org>2022-06-06 03:11:37 +0000
commitdb681eaf7145158fb49eddbdb548692e8bfe7fab (patch)
tree31c82929a67b484579cd4a158eb3cefc433e2ad7 /drivers/platform/chrome/Makefile
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
downloadlinux-db681eaf7145158fb49eddbdb548692e8bfe7fab.tar.bz2
platform/chrome: cros_ec_proto: add Kunit tests for cros_ec_prepare_tx()
cros_ec_prepare_tx() is used to fill the protocol headers according to the requested protocol version. Add Kunit tests cros_ec_prepare_tx() for each version. Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Link: https://lore.kernel.org/r/20220518091814.2028579-2-tzungbi@kernel.org
Diffstat (limited to 'drivers/platform/chrome/Makefile')
-rw-r--r--drivers/platform/chrome/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/chrome/Makefile b/drivers/platform/chrome/Makefile
index 52f5a2dde8b8..3c380066c6b6 100644
--- a/drivers/platform/chrome/Makefile
+++ b/drivers/platform/chrome/Makefile
@@ -30,3 +30,6 @@ obj-$(CONFIG_CROS_USBPD_LOGGER) += cros_usbpd_logger.o
obj-$(CONFIG_CROS_USBPD_NOTIFY) += cros_usbpd_notify.o
obj-$(CONFIG_WILCO_EC) += wilco_ec/
+
+# Kunit test cases
+obj-$(CONFIG_CROS_EC_PROTO_KUNIT_TEST) += cros_ec_proto_test.o