summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-06-09 12:02:03 -0600
committerCommit Bot <commit-bot@chromium.org>2021-06-11 22:27:22 +0000
commit194a3b2fa981a052a350447124418b89e9aff572 (patch)
tree8222a9cca74b11e26958ee4225e81468ac7f8310
parenta2a624d08f8ec45fa7ec96b559ecf0fa81f956d8 (diff)
downloadchrome-ec-194a3b2fa981a052a350447124418b89e9aff572.tar.gz
zephyr: trogdor: delete NPCX common configs
Delete the Kconfig options that are now setup by default for the NPCX7 chipset. BUG=none BRANCH=none TEST=zmake testall TEST=build and run zephyr on lazor Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: Ia815bfddb56fc1113a1bc6664317328ade4a83ff Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2951221 Reviewed-by: Yuval Peress <peress@chromium.org>
-rw-r--r--zephyr/projects/trogdor/boards/arm/trogdor/trogdor_defconfig33
1 files changed, 1 insertions, 32 deletions
diff --git a/zephyr/projects/trogdor/boards/arm/trogdor/trogdor_defconfig b/zephyr/projects/trogdor/boards/arm/trogdor/trogdor_defconfig
index 869f4b7c27..7d297dd9cc 100644
--- a/zephyr/projects/trogdor/boards/arm/trogdor/trogdor_defconfig
+++ b/zephyr/projects/trogdor/boards/arm/trogdor/trogdor_defconfig
@@ -4,9 +4,9 @@
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_NPCX7=y
+CONFIG_SOC_NPCX7M6FC=y
# Platform Configuration
-CONFIG_SOC_NPCX7M6FC=y
CONFIG_BOARD_TROGDOR=y
# Enable NPCX firmware header generator
@@ -32,39 +32,8 @@ CONFIG_GPIO=y
# Clock configuration
CONFIG_CLOCK_CONTROL=y
-# PLL configuration
-CONFIG_CLOCK_NPCX_OSC_CYCLES_PER_SEC=90000000
-CONFIG_CLOCK_NPCX_APB1_PRESCALER=6
-CONFIG_CLOCK_NPCX_APB2_PRESCALER=6
-CONFIG_CLOCK_NPCX_APB3_PRESCALER=6
-
-CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=15000000
-
-# Code RAM base for NPCX797FC
-CONFIG_CROS_EC_PROGRAM_MEMORY_BASE=0x10090000
-CONFIG_CROS_EC_RAM_BASE=0x200c0000
-CONFIG_CROS_EC_DATA_RAM_SIZE=0x00010000
-CONFIG_CROS_EC_RAM_SIZE=0x0000f800
-
-# ADC
-# The resolution and oversamplig values are fixed by the NPCX ADC driver
-CONFIG_PLATFORM_EC_ADC_RESOLUTION=10
-CONFIG_PLATFORM_EC_ADC_OVERSAMPLING=0
-
-CONFIG_FLASH_SIZE=512
-CONFIG_CROS_EC_RO_MEM_OFF=0x0
-CONFIG_CROS_EC_RO_SIZE=0x30000
-# (CONFIG_CROS_EC_RO_MEM_OFF + CONFIG_CROS_EC_RO_SIZE)
-CONFIG_CROS_EC_RW_MEM_OFF=0x0
-# (CONFIG_CROS_EC_FLASH_SIZE - CONFIG_CROS_EC_RW_MEM_OFF -
-# CONFIG_CROS_EC_RO_MEM_OFF)
-CONFIG_CROS_EC_RW_SIZE=0x30000
-
# WATCHDOG configuration
CONFIG_WATCHDOG=y
-# Set the delay time for printing panic data.
-# 1 cycle is about 32ms. 500ms is about 16 cycles.
-CONFIG_WDT_NPCX_DELAY_CYCLES=16
# Power Management
CONFIG_SOC_POWER_MANAGEMENT=y