board: xtensa: imx8m: Remove unnecessary configs

Remove unnecessary configs.
Some were moved to Kconfig.series from soc/.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2023-11-09 19:17:41 +02:00 committed by Carles Cufí
commit edc0b7f352
4 changed files with 15 additions and 29 deletions

View file

@ -1,4 +1,4 @@
# Copyright (c) 2021 NXP # Copyright 2021, 2023 NXP
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
@ -7,14 +7,4 @@ if BOARD_NXP_ADSP_IMX8M
config BOARD config BOARD
default "nxp_adsp_imx8m" default "nxp_adsp_imx8m"
config DUMMY_DMA
bool
default y
depends on DMA
config IMX_SDMA
bool
default y
depends on DMA
endif # BOARD_NXP_ADSP_IMX8M endif # BOARD_NXP_ADSP_IMX8M

View file

@ -1,27 +1,18 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
CONFIG_MAIN_STACK_SIZE=3072
CONFIG_SOC_SERIES_NXP_IMX8M=y CONFIG_SOC_SERIES_NXP_IMX8M=y
CONFIG_SOC_MIMX8M_ADSP=y CONFIG_SOC_MIMX8M_ADSP=y
CONFIG_BOARD_NXP_ADSP_IMX8M=y CONFIG_BOARD_NXP_ADSP_IMX8M=y
CONFIG_GEN_ISR_TABLES=y # size of stack for initialization and main thread
CONFIG_GEN_IRQ_VECTOR_TABLE=n CONFIG_MAIN_STACK_SIZE=3072
CONFIG_XTENSA_RESET_VECTOR=y # enable logger
CONFIG_LOG=y
CONFIG_XTENSA_USE_CORE_CRT1=y
CONFIG_XTENSA_SMALL_VECTOR_TABLE_ENTRY=y
CONFIG_MULTI_LEVEL_INTERRUPTS=n
CONFIG_2ND_LEVEL_INTERRUPTS=n
# no need for a "raw" binary zephyr/zephyr.bin in the build directory
CONFIG_BUILD_OUTPUT_BIN=n CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_DCACHE_LINE_SIZE=128
# enable uart driver # enable uart driver
CONFIG_SERIAL=y CONFIG_SERIAL=y

View file

@ -11,7 +11,7 @@ config SOC_TOOLCHAIN_NAME
string string
default "nxp_imx8m_adsp" default "nxp_imx8m_adsp"
# if SOC_MIMX8M_ADSP if SOC_MIMX8M_ADSP
config SOC config SOC
string string
@ -23,12 +23,15 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
config SYS_CLOCK_TICKS_PER_SEC config SYS_CLOCK_TICKS_PER_SEC
default 50000 default 50000
config DCACHE_LINE_SIZE
default 128
config DYNAMIC_INTERRUPTS config DYNAMIC_INTERRUPTS
default y default y
config LOG config GEN_IRQ_VECTOR_TABLE
default y default n
# endif # SOC_MIMX8M_ADSP endif # SOC_MIMX8M_ADSP
endif # SOC_SERIES_NXP_IMX8M endif # SOC_SERIES_NXP_IMX8M

View file

@ -9,5 +9,7 @@ config SOC_SERIES_NXP_IMX8M
select XTENSA_RESET_VECTOR select XTENSA_RESET_VECTOR
select XTENSA_USE_CORE_CRT1 select XTENSA_USE_CORE_CRT1
select ATOMIC_OPERATIONS_BUILTIN select ATOMIC_OPERATIONS_BUILTIN
select GEN_ISR_TABLES
select XTENSA_SMALL_VECTOR_TABLE_ENTRY
help help
Enable support for NXP i.MX8M Audio DSP Enable support for NXP i.MX8M Audio DSP