mirror of https://github.com/thesofproject/sof.git
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:
parent
f7ba009d1b
commit
a79614295f
|
@ -444,10 +444,9 @@ if (CONFIG_SOC_SERIES_NXP_IMX8M)
|
||||||
zephyr_library_sources(
|
zephyr_library_sources(
|
||||||
${SOF_DRIVERS_PATH}/generic/dummy-dma.c
|
${SOF_DRIVERS_PATH}/generic/dummy-dma.c
|
||||||
${SOF_DRIVERS_PATH}/imx/sdma.c
|
${SOF_DRIVERS_PATH}/imx/sdma.c
|
||||||
${SOF_DRIVERS_PATH}/imx/edma.c
|
|
||||||
${SOF_DRIVERS_PATH}/imx/sai.c
|
${SOF_DRIVERS_PATH}/imx/sai.c
|
||||||
${SOF_DRIVERS_PATH}/imx/ipc.c
|
${SOF_DRIVERS_PATH}/imx/ipc.c
|
||||||
${SOF_DRIVERS_PATH}/imx/esai.c
|
${SOF_DRIVERS_PATH}/imx/interrupt-irqsteer.c
|
||||||
)
|
)
|
||||||
|
|
||||||
# Platform sources
|
# Platform sources
|
||||||
|
@ -459,6 +458,12 @@ if (CONFIG_SOC_SERIES_NXP_IMX8M)
|
||||||
${SOF_PLATFORM_PATH}/imx8m/lib/dma.c
|
${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")
|
set(PLATFORM "imx8m")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue