summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2021-11-29 11:09:37 +0800
committerCommit Bot <commit-bot@chromium.org>2021-11-29 10:48:21 +0000
commitaf42062a920fb032711604b79c731aecf851d55e (patch)
treea750b3d2991d000264c119eb4bdd2b50c32b22d4 /zephyr/Kconfig
parentdc2616addb35c36d6041e9b8885b3512272b1505 (diff)
downloadchrome-ec-af42062a920fb032711604b79c731aecf851d55e.tar.gz
zephyr: kconfig: add PLATOFRM_EC_MATH_UTIL
Make this config independent since it has been dependent to many configs includes motion sensors and USB-PD. BUG=none TEST=zmake testall; grep math_util.o and no config directly uses it. BRANCH=none Change-Id: Id755a28e3f3da99a32b22c0d2e0b1228e7d7e6d0 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3305648 Tested-by: Eric Yilun Lin <yllin@google.com> Auto-Submit: Eric Yilun Lin <yllin@google.com> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index d0ef3fc711..53e14a35e8 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -894,4 +894,10 @@ config PLATFORM_EC_AMD_STT
to temporarily boost above the sustainable power limit, while the
chassis skin temperatures are below limits.
+config PLATFORM_EC_MATH_UTIL
+ bool "Math utility"
+ help
+ Math utilities including bitmask manipulation, division rounding,
+ trigonometric function, etc.
+
endif # PLATFORM_EC