summaryrefslogtreecommitdiff
path: root/zephyr/app
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-06-29 14:28:02 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-01 16:59:59 +0000
commit1042855d09befb5e13499ee4ec34c88f5480730e (patch)
treeead731c4d3e95e43334776aae7b05f5c3afae578 /zephyr/app
parent7b0b7732437673852d5b351508ddbc47db2de183 (diff)
downloadchrome-ec-1042855d09befb5e13499ee4ec34c88f5480730e.tar.gz
zephyr: npcx: Remove PLL setting for NPCX chip
UPSTREAM PR(https://github.com/zephyrproject-rtos/zephyr/pull/36217) moves clock setting from Kconfig to devicetree. This CL removes the Kconfig setting for clock configuration. BUG=none BRANCH=none TEST=zmake testall TEST=Check timer by 'timerinfo' on volteer with zephyr v2.5 & v2.6 Cq-Depend: chromium:2994365, chromium:2994237 Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I8fd60a715a6b81ad0afe56f46c752ae42a619ea5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2994230 Reviewed-by: Yuval Peress <peress@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Diffstat (limited to 'zephyr/app')
-rw-r--r--zephyr/app/ec/chip/Kconfig.npcx714
1 files changed, 1 insertions, 13 deletions
diff --git a/zephyr/app/ec/chip/Kconfig.npcx7 b/zephyr/app/ec/chip/Kconfig.npcx7
index 31bb2ec635..c843bd795f 100644
--- a/zephyr/app/ec/chip/Kconfig.npcx7
+++ b/zephyr/app/ec/chip/Kconfig.npcx7
@@ -96,19 +96,7 @@ config PLATFORM_EC_ADC_RESOLUTION
config PLATFORM_EC_ADC_OVERSAMPLING
default 0
-# PLL configuration
-config CLOCK_NPCX_OSC_CYCLES_PER_SEC
- default 90000000
-
-config CLOCK_NPCX_APB1_PRESCALER
- default 6
-
-config CLOCK_NPCX_APB2_PRESCALER
- default 6
-
-config CLOCK_NPCX_APB3_PRESCALER
- default 6
-
+# Set the system clock to 15MHz.
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 15000000