platform: Add support for i.MX8X

DSP integrations for i.MX8 and i.MX8X are very similar
from the DSP point of view.

The only notable difference at this point is the IRQSTEER
address.

i.MX8 means for now i.MX8QM.
i.MX8X means for now i.MX8QXP.

There might be other variants in the future.

https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i.mx-applications-processors/i.mx-8-processors:IMX8-SERIES

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
Daniel Baluta 2020-01-12 17:45:28 +02:00 committed by Daniel Baluta
parent e6e17b00d1
commit d44130e994
4 changed files with 18 additions and 1 deletions

View File

@ -25,6 +25,8 @@ elseif(CONFIG_TIGERLAKE)
endif() endif()
elseif(CONFIG_IMX8) elseif(CONFIG_IMX8)
set(platform_folder imx8) set(platform_folder imx8)
elseif(CONFIG_IMX8X)
set(platform_folder imx8)
endif() endif()
set(fw_name ${CONFIG_FIRMWARE_SHORT_NAME}) set(fw_name ${CONFIG_FIRMWARE_SHORT_NAME})

View File

@ -0,0 +1 @@
CONFIG_IMX8X=y

View File

@ -14,7 +14,7 @@ elseif(CONFIG_ICELAKE)
add_subdirectory(icelake) add_subdirectory(icelake)
elseif(CONFIG_TIGERLAKE) elseif(CONFIG_TIGERLAKE)
add_subdirectory(tigerlake) add_subdirectory(tigerlake)
elseif(CONFIG_IMX8) elseif(CONFIG_IMX8 OR CONFIG_IMX8X)
add_subdirectory(imx8) add_subdirectory(imx8)
endif() endif()

View File

@ -171,6 +171,19 @@ config IMX8
help help
Select if your target platform is imx8-compatible Select if your target platform is imx8-compatible
config IMX8X
bool "Build for NXP i.MX8X"
select HAVE_RESET_VECTOR_ROM
select INTERRUPT_LEVEL_1
select INTERRUPT_LEVEL_2
select INTERRUPT_LEVEL_3
select HOST_PTABLE
select DUMMY_DMA
select WAITI_DELAY
select IMX
help
Select if your target platform is imx8x-compatible
endchoice endchoice
config INTEL config INTEL
@ -247,6 +260,7 @@ config FIRMWARE_SHORT_NAME
default "icl" if ICELAKE default "icl" if ICELAKE
default "tgl" if TIGERLAKE default "tgl" if TIGERLAKE
default "imx8" if IMX8 default "imx8" if IMX8
default "imx8x" if IMX8X
default "" default ""
help help
3-characters long firmware identifer 3-characters long firmware identifer