boards: xtensa: adsp: add support for imx8 board
Add support for i.MX8QM board by defining defconfig, board configuration and device tree. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
parent
3758fd59cf
commit
c5ab576929
6 changed files with 78 additions and 0 deletions
7
boards/xtensa/nxp_adsp_imx8/Kconfig.board
Normal file
7
boards/xtensa/nxp_adsp_imx8/Kconfig.board
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Xtensa board configuration
|
||||
|
||||
# Copyright (c) 2021 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NXP_ADSP_IMX8
|
||||
bool "NXP ADSP i.MX8"
|
19
boards/xtensa/nxp_adsp_imx8/Kconfig.defconfig
Normal file
19
boards/xtensa/nxp_adsp_imx8/Kconfig.defconfig
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Copyright (c) 2021 NXP
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_NXP_ADSP_IMX8
|
||||
|
||||
config BOARD
|
||||
default "nxp_adsp_imx8"
|
||||
|
||||
config DUMMY_DMA
|
||||
default y
|
||||
depends on DMA
|
||||
|
||||
config IMX_EDMA
|
||||
default y
|
||||
depends on DMA
|
||||
|
||||
|
||||
endif # BOARD_NXP_ADSP_IMX8
|
4
boards/xtensa/nxp_adsp_imx8/board.cmake
Normal file
4
boards/xtensa/nxp_adsp_imx8/board.cmake
Normal file
|
@ -0,0 +1,4 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
board_set_flasher_ifnset(misc-flasher)
|
||||
board_finalize_runner_args(misc-flasher)
|
18
boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8.dts
Normal file
18
boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8.dts
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* Copyright (c) 2021 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <nxp/nxp_imx8.dtsi>
|
||||
|
||||
/ {
|
||||
model = "nxp_adsp_imx8";
|
||||
compatible = "nxp";
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
};
|
||||
};
|
10
boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8.yaml
Normal file
10
boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
identifier: nxp_adsp_imx8
|
||||
name: i.MX8 DSP
|
||||
type: mcu
|
||||
arch: xtensa
|
||||
toolchain:
|
||||
- zephyr
|
||||
testing:
|
||||
only_tags:
|
||||
- kernel
|
||||
- sof
|
20
boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8_defconfig
Normal file
20
boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8_defconfig
Normal file
|
@ -0,0 +1,20 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_MAIN_STACK_SIZE=3072
|
||||
|
||||
CONFIG_SOC_SERIES_NXP_IMX8=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_MULTI_LEVEL_INTERRUPTS=n
|
||||
CONFIG_2ND_LEVEL_INTERRUPTS=n
|
||||
|
||||
CONFIG_BOOTLOADER_SRAM_SIZE=192
|
||||
CONFIG_BUILD_OUTPUT_BIN=n
|
||||
CONFIG_CLEANUP_INTERMEDIATE_FILES=y
|
Loading…
Add table
Add a link
Reference in a new issue