diff options
author | Jun Lin <CHLin56@nuvoton.com> | 2022-04-01 15:20:33 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-11 20:13:45 +0000 |
commit | d84412caa5ac3fd6af129d6dc4d21b3c6dcf1918 (patch) | |
tree | 8ad7b48e373d4d1a94b61d413c3d725655c9a091 /zephyr/projects/npcx_evb/npcx7/prj.conf | |
parent | de526c04271e4c421c3f8700022dfa62fbb7ab53 (diff) | |
download | chrome-ec-d84412caa5ac3fd6af129d6dc4d21b3c6dcf1918.tar.gz |
zephyr: npcx: clock: remove the guard for npcx_clock_get_sleep_ticks
The function npcx_clock_get_sleep_ticks is currently guarded by
CONFIG_PM && CONFIG_NPCX_PM_TRACE. The other codes guarded by
CONFIG_NPCX_PM_TRACE is used to trace and will print a lot of messages.
The user who wants to use npcx_clock_get_sleep_ticks has to enable this
flag and get a lot of console spam. This commit removes the guard
CONFIG_NPCX_PM_TRACE and makes this function is available when
CONFIG_PM is defined.
This CL also removed the unnecessary default CONFIG* to reflect the
change.
This CL has dependency on PR:
https://github.com/zephyrproject-rtos/zephyr/pull/44195
BRANCH=none
BUG=b:226593750
TEST=set CONFIG_NPCX_PM_TRACE=n, the deep sleep time can be printed by
"idlestats" console command.
TEST=pass "zmake testall --clobber"
Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
Change-Id: I87138f075a80e7389d58ec5dd38a8ead320593b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3552006
Tested-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/npcx_evb/npcx7/prj.conf')
-rw-r--r-- | zephyr/projects/npcx_evb/npcx7/prj.conf | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/zephyr/projects/npcx_evb/npcx7/prj.conf b/zephyr/projects/npcx_evb/npcx7/prj.conf index 2e8fa83cf8..0b858a3a82 100644 --- a/zephyr/projects/npcx_evb/npcx7/prj.conf +++ b/zephyr/projects/npcx_evb/npcx7/prj.conf @@ -54,7 +54,4 @@ CONFIG_LOG=y # Avoid underflow info from tachometer CONFIG_SENSOR_LOG_LEVEL_ERR=y -# Avoid info storm from power management -CONFIG_SOC_LOG_LEVEL_ERR=y - CONFIG_SYSCON=y |