Skip to content

Commit

Permalink
loadable module: define a new bit in fw_image_flags
Browse files Browse the repository at this point in the history
The bit 4 is set to force driver reload library on d3 exit

Signed-off-by: Rander Wang <[email protected]>
  • Loading branch information
RanderWang committed Oct 30, 2023
1 parent ce857f1 commit 9dcb7bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions config/mtl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ base_offset = "0x2000"
[fw_desc.header]
name = "ADSPFW"
load_offset = "0x40000"
fw_image_flags = "0x12"

[module]
count = 18
Expand Down
1 change: 0 additions & 1 deletion src/manifest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,6 @@ int man_write_fw_ace_v1_5(struct image *image)
m->desc.header.build_version = image->fw_ver_build;

m->desc.header.feature_mask = 0x2; // -> should be feature mask - to fix
m->desc.header.fw_image_flags = 0x2; // -> should be feature mask - to fix
m->desc.header.fw_compat = 0x100000; // -> PUT PROPER STRUCT

/* create each module */
Expand Down

0 comments on commit 9dcb7bf

Please sign in to comment.