summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2021-04-28 10:38:39 +0000
committerCommit Bot <commit-bot@chromium.org>2021-04-28 16:15:39 +0000
commit74a7b366366e3786ef10d39cdec230a4537ebb54 (patch)
tree565de8b4dfe436a620b17d9f446c9302e5c9712a /zephyr/Kconfig
parent69f119754c43e8a720b04015234ce99a3a28fe82 (diff)
downloadchrome-ec-74a7b366366e3786ef10d39cdec230a4537ebb54.tar.gz
zephyr: Kconfig: disable CONFIG_TIMESLICING
This adds a Kconfig file for overriding Zephyr defaults and adds an entry to disable CONFIG_TIMESLICING. The feature is compiled in by default but not enabled, and we don't enable it at runtime. Compiling it out saves a few bytes. Before: FLASH: 233760 B 512 KB 44.59% SRAM: 48344 B 62 KB 76.15% After: FLASH: 233344 B 512 KB 44.51% SRAM: 48328 B 62 KB 76.12% BUG=b:183748844 BRANCH=none TEST=build and run on volteer Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I5587a553197ca0101e9d7047f6ce7a988dd0b36d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2854844 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org> Commit-Queue: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index 358ac691f1..a52fbd6e6e 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -38,6 +38,7 @@ rsource "Kconfig.board_version"
rsource "Kconfig.console"
rsource "Kconfig.console_cmd_mem"
rsource "Kconfig.debug_assert"
+rsource "Kconfig.defaults"
rsource "Kconfig.espi"
rsource "Kconfig.flash"
rsource "Kconfig.header"