soc: nxp_adsp: Refactor imx8/imx8m Kconfig
In preparation for RT500 ADSP enablement, consolidate common Xtensa configuration parameters in top level Kconfig.defconfig. Signed-off-by: Dmitry Lukyantsev <dmitrylu@google.com>
This commit is contained in:
parent
d4037ce6a1
commit
0ae68a3857
3 changed files with 22 additions and 42 deletions
|
@ -1,4 +1,4 @@
|
|||
# NXP i.MX8 SoC family default configuration options
|
||||
# NXP i.MX8/RT SoC family default configuration options
|
||||
#
|
||||
# Copyright (c) 2021 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
@ -6,4 +6,24 @@
|
|||
source "soc/xtensa/nxp_adsp/*/Kconfig.defconfig.series"
|
||||
|
||||
config CACHE_MANAGEMENT
|
||||
def_bool y
|
||||
default y
|
||||
|
||||
config SMP
|
||||
default n
|
||||
|
||||
config XTENSA_TIMER
|
||||
default y
|
||||
|
||||
config KERNEL_ENTRY
|
||||
default "__start"
|
||||
|
||||
config MULTI_LEVEL_INTERRUPTS
|
||||
default n
|
||||
|
||||
config 2ND_LEVEL_INTERRUPTS
|
||||
default n
|
||||
|
||||
# To prevent test uses TEST_LOGGING_MINIMAL
|
||||
config TEST_LOGGING_DEFAULTS
|
||||
default n
|
||||
depends on TEST
|
||||
|
|
|
@ -15,36 +15,16 @@ config SOC
|
|||
string
|
||||
default "nxp_imx8"
|
||||
|
||||
config SMP
|
||||
default n
|
||||
|
||||
config XTENSA_TIMER
|
||||
default y
|
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 666000000 if XTENSA_TIMER
|
||||
|
||||
config SYS_CLOCK_TICKS_PER_SEC
|
||||
default 50000
|
||||
|
||||
config KERNEL_ENTRY
|
||||
default "__start"
|
||||
|
||||
config MULTI_LEVEL_INTERRUPTS
|
||||
default n
|
||||
|
||||
config 2ND_LEVEL_INTERRUPTS
|
||||
default n
|
||||
|
||||
config DYNAMIC_INTERRUPTS
|
||||
default y
|
||||
|
||||
config LOG
|
||||
default y
|
||||
|
||||
# To prevent test uses TEST_LOGGING_MINIMAL
|
||||
config TEST_LOGGING_DEFAULTS
|
||||
default n
|
||||
depends on TEST
|
||||
|
||||
endif # SOC_SERIES_NXP_IMX8
|
||||
|
|
|
@ -17,38 +17,18 @@ config SOC
|
|||
string
|
||||
default "mimx8ml8"
|
||||
|
||||
config SMP
|
||||
default n
|
||||
|
||||
config XTENSA_TIMER
|
||||
default y
|
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 800000000 if XTENSA_TIMER
|
||||
|
||||
config SYS_CLOCK_TICKS_PER_SEC
|
||||
default 50000
|
||||
|
||||
config KERNEL_ENTRY
|
||||
default "__start"
|
||||
|
||||
config MULTI_LEVEL_INTERRUPTS
|
||||
default n
|
||||
|
||||
config 2ND_LEVEL_INTERRUPTS
|
||||
default n
|
||||
|
||||
config DYNAMIC_INTERRUPTS
|
||||
default y
|
||||
|
||||
config LOG
|
||||
default y
|
||||
|
||||
# To prevent test uses TEST_LOGGING_MINIMAL
|
||||
config TEST_LOGGING_DEFAULTS
|
||||
default n
|
||||
depends on TEST
|
||||
|
||||
# endif # SOC_MIMX8M_ADSP
|
||||
|
||||
endif # SOC_SERIES_NXP_IMX8M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue