soc: xtensa: nxp_adsp: imx8m: rename soc

Rename soc to mimx8ml8 to link this board to the
MIMX8ML8 device from nxp_hal/mcux/mcux-sdk/.

We need this in order to use the drivers from mcux-sdk.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2023-03-10 17:46:33 +02:00 committed by David Leach
parent 0b353577a0
commit 98bc2d8a40
3 changed files with 34 additions and 7 deletions

View file

@ -11,9 +11,11 @@ config SOC_TOOLCHAIN_NAME
string
default "nxp_imx8m_adsp"
# if SOC_MIMX8M_ADSP
config SOC
string
default "nxp_imx8m"
default "mimx8ml8"
config SMP
default n
@ -47,4 +49,6 @@ config TEST_LOGGING_DEFAULTS
default n
depends on TEST
# endif # SOC_MIMX8M_ADSP
endif # SOC_SERIES_NXP_IMX8M

View file

@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
config SOC_SERIES_NXP_IMX8M
bool "NXP i.MX8M"
bool "NXP i.MX8M Audio DSP Series"
select SOC_FAMILY_NXP_ADSP
select XTENSA
select XTENSA_HAL if ("$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xcc" && "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xt-clang")
@ -10,4 +10,4 @@ config SOC_SERIES_NXP_IMX8M
select XTENSA_USE_CORE_CRT1
select ATOMIC_OPERATIONS_BUILTIN
help
NXP i.MX8M
Enable support for NXP i.MX8M Audio DSP

View file

@ -2,10 +2,33 @@
# SPDX-License-Identifier: Apache-2.0
choice
prompt "NXP i.MX SoC Selection"
prompt "NXP i.MX8M Audio DSP Selection"
depends on SOC_SERIES_NXP_IMX8M
config SOC_NXP_IMX8M
bool "i.MX8M SoC"
depends on SOC_SERIES_NXP_IMX8M
config SOC_MIMX8M_ADSP
bool "NXP i.MX8MP Audio DSP"
endchoice
if SOC_SERIES_NXP_IMX8M
config SOC_PART_NUMBER_MIMX8ML8DVNLZ
bool
config SOC_PART_NUMBER_MIMX8ML8CVNKZ
bool
config SOC_PART_NUMBER_MIMX8MP_DSP
string
default "MIMX8ML8DVNLZ_dsp" if SOC_PART_NUMBER_MIMX8ML8DVNLZ
default "MIMX8ML8CVNKZ_dsp" if SOC_PART_NUMBER_MIMX8ML8CVNKZ
help
This string holds the full part number of the SoC. It is a hidden option
that you should not set directly. The part number selection choice defines
the default value for this string.
config SOC_PART_NUMBER
string
default SOC_PART_NUMBER_MIMX8MP_DSP if SOC_MIMX8M_ADSP
endif # SOC_SERIES_NXP_IMX8M