Skip to content

Commit 0175495

Browse files
LaurentiuM1234MaureenHelm
authored andcommitted
boards: nxp: imx95_evk: add rimage support for m7 ddr variant
Add rimage support for the i.MX95 EVK M7-based DDR board variant. This is only required when running SOF. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
1 parent 476c12f commit 0175495

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

boards/nxp/imx95_evk/CMakeLists.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
if (CONFIG_SOF AND CONFIG_BOARD_IMX95_EVK_MIMX9596_M7_DDR)
4+
add_custom_target(zephyr.ri ALL
5+
DEPENDS ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri
6+
)
7+
8+
add_custom_command(
9+
OUTPUT ${CMAKE_BINARY_DIR}/zephyr/zephyr.ri
10+
COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_OPTS}
11+
DEPENDS ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}
12+
)
13+
endif()

boards/nxp/imx95_evk/board.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
if (CONFIG_SOF AND CONFIG_BOARD_IMX95_EVK_MIMX9596_M7_DDR)
4+
board_set_rimage_target(imx95)
5+
endif()

0 commit comments

Comments
 (0)