zephyr: build: add support for imx8m

Build SOF with Zephyr for i.MX8MP platform.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2021-09-29 00:25:02 +03:00 committed by Daniel Baluta
parent f7ba009d1b
commit a79614295f
1 changed files with 7 additions and 2 deletions

View File

@ -444,10 +444,9 @@ if (CONFIG_SOC_SERIES_NXP_IMX8M)
zephyr_library_sources(
${SOF_DRIVERS_PATH}/generic/dummy-dma.c
${SOF_DRIVERS_PATH}/imx/sdma.c
${SOF_DRIVERS_PATH}/imx/edma.c
${SOF_DRIVERS_PATH}/imx/sai.c
${SOF_DRIVERS_PATH}/imx/ipc.c
${SOF_DRIVERS_PATH}/imx/esai.c
${SOF_DRIVERS_PATH}/imx/interrupt-irqsteer.c
)
# Platform sources
@ -459,6 +458,12 @@ if (CONFIG_SOC_SERIES_NXP_IMX8M)
${SOF_PLATFORM_PATH}/imx8m/lib/dma.c
)
# SOF core infrastructure - runs on top of Zephyr
zephyr_library_sources(
${SOF_SRC_PATH}/schedule/ll_schedule.c
${SOF_SRC_PATH}/drivers/interrupt.c
)
set(PLATFORM "imx8m")
endif()