soc: xtensa: imx8: Configuration cleanup
As the name suggests, this commit attempts to cleanup some of the configurations for the i.MX8 series. This cleanup consists of either relocating the configuration or removing unnecessary configurations. As a rule of thumb, SoC-specific configurations have been moved to Kconfig.series. If the configuration is by default 'y' and needs to be set to 'n' or it has a numeric value then it has been moved to Kconfig.defconfig.series. Configurations that are default 'n' and were also explicitly set to 'n' have been removed. Also, enabling logging has been moved to the board level to avoid having to force all boards based on the same SoC to enable logging. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
ad7e858938
commit
eb12bae048
6 changed files with 14 additions and 51 deletions
|
@ -7,15 +7,4 @@ if BOARD_NXP_ADSP_IMX8
|
|||
config BOARD
|
||||
default "nxp_adsp_imx8"
|
||||
|
||||
config DUMMY_DMA
|
||||
bool
|
||||
default y
|
||||
depends on DMA
|
||||
|
||||
config IMX_EDMA
|
||||
bool
|
||||
default y
|
||||
depends on DMA
|
||||
|
||||
|
||||
endif # BOARD_NXP_ADSP_IMX8
|
||||
|
|
|
@ -2,22 +2,13 @@
|
|||
|
||||
CONFIG_MAIN_STACK_SIZE=3072
|
||||
|
||||
# board/soc-related configurations
|
||||
CONFIG_SOC_SERIES_NXP_IMX8=y
|
||||
CONFIG_SOC_MIMX8QM_ADSP=y
|
||||
CONFIG_BOARD_NXP_ADSP_IMX8=y
|
||||
|
||||
CONFIG_GEN_ISR_TABLES=y
|
||||
CONFIG_GEN_IRQ_VECTOR_TABLE=n
|
||||
|
||||
CONFIG_XTENSA_RESET_VECTOR=y
|
||||
|
||||
CONFIG_XTENSA_USE_CORE_CRT1=y
|
||||
|
||||
CONFIG_XTENSA_SMALL_VECTOR_TABLE_ENTRY=y
|
||||
|
||||
CONFIG_MULTI_LEVEL_INTERRUPTS=n
|
||||
CONFIG_2ND_LEVEL_INTERRUPTS=n
|
||||
CONFIG_LOG=y
|
||||
|
||||
# TODO: maybe move this to SOF?
|
||||
CONFIG_DYNAMIC_INTERRUPTS=y
|
||||
CONFIG_BUILD_OUTPUT_BIN=n
|
||||
|
||||
CONFIG_DCACHE_LINE_SIZE=128
|
||||
|
|
|
@ -7,14 +7,4 @@ if BOARD_NXP_ADSP_IMX8X
|
|||
config BOARD
|
||||
default "nxp_adsp_imx8x"
|
||||
|
||||
config DUMMY_DMA
|
||||
bool
|
||||
default y
|
||||
depends on DMA
|
||||
|
||||
config IMX_EDMA
|
||||
bool
|
||||
default y
|
||||
depends on DMA
|
||||
|
||||
endif # BOARD_NXP_ADSP_IMX8X
|
||||
|
|
|
@ -2,22 +2,13 @@
|
|||
|
||||
CONFIG_MAIN_STACK_SIZE=3072
|
||||
|
||||
# board/soc-related configurations
|
||||
CONFIG_SOC_SERIES_NXP_IMX8=y
|
||||
CONFIG_SOC_MIMX8QXP_ADSP=y
|
||||
CONFIG_BOARD_NXP_ADSP_IMX8X=y
|
||||
|
||||
CONFIG_GEN_ISR_TABLES=y
|
||||
CONFIG_GEN_IRQ_VECTOR_TABLE=n
|
||||
|
||||
CONFIG_XTENSA_RESET_VECTOR=y
|
||||
|
||||
CONFIG_XTENSA_USE_CORE_CRT1=y
|
||||
|
||||
CONFIG_XTENSA_SMALL_VECTOR_TABLE_ENTRY=y
|
||||
|
||||
CONFIG_MULTI_LEVEL_INTERRUPTS=n
|
||||
CONFIG_2ND_LEVEL_INTERRUPTS=n
|
||||
CONFIG_LOG=y
|
||||
|
||||
# TODO: maybe move this to SOF?
|
||||
CONFIG_DYNAMIC_INTERRUPTS=y
|
||||
CONFIG_BUILD_OUTPUT_BIN=n
|
||||
|
||||
CONFIG_DCACHE_LINE_SIZE=128
|
||||
|
|
|
@ -17,11 +17,11 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|||
config SYS_CLOCK_TICKS_PER_SEC
|
||||
default 50000
|
||||
|
||||
config DYNAMIC_INTERRUPTS
|
||||
default y
|
||||
config DCACHE_LINE_SIZE
|
||||
default 128
|
||||
|
||||
config LOG
|
||||
default y
|
||||
config GEN_IRQ_VECTOR_TABLE
|
||||
default n
|
||||
|
||||
source "soc/xtensa/nxp_adsp/imx8/Kconfig.defconfig.imx8q*"
|
||||
|
||||
|
|
|
@ -9,5 +9,7 @@ config SOC_SERIES_NXP_IMX8
|
|||
select XTENSA_RESET_VECTOR
|
||||
select XTENSA_USE_CORE_CRT1
|
||||
select ATOMIC_OPERATIONS_BUILTIN
|
||||
select GEN_ISR_TABLES
|
||||
select XTENSA_SMALL_VECTOR_TABLE_ENTRY
|
||||
help
|
||||
NXP i.MX8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue