File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -289,6 +289,11 @@ if(NOT DEFINED RIMAGE_PRIVATE_KEY)
289289 set (RIMAGE_PRIVATE_KEY ${PROJECT_SOURCE_DIR } /rimage/keys/otc_private_key.pem)
290290endif ()
291291
292+ if (NOT DEFINED RIMAGE_IMR_TYPE)
293+ # default value for non-production firmware
294+ set (RIMAGE_IMR_TYPE 3)
295+ endif ()
296+
292297if (MEU_PATH)
293298 execute_process (
294299 COMMAND ${MEU_PATH} /meu -ver
@@ -313,6 +318,7 @@ if(MEU_PATH)
313318 -m ${fw_name}
314319 -s ${MEU_OFFSET}
315320 -k ${RIMAGE_PRIVATE_KEY}
321+ -i ${RIMAGE_IMR_TYPE}
316322 ${bootloader_binary_path}
317323 sof-${fw_name}
318324 DEPENDS sof_dump
@@ -343,6 +349,7 @@ else()
343349 -p sof-${fw_name}.ldc
344350 -m ${fw_name}
345351 -k ${RIMAGE_PRIVATE_KEY}
352+ -i ${RIMAGE_IMR_TYPE}
346353 ${bootloader_binary_path}
347354 sof-${fw_name}
348355 DEPENDS sof_dump
You can’t perform that action at this time.
0 commit comments