mirror of https://github.com/thesofproject/sof.git
rimage: make .static_log_entries optional section
Thats because this section is optional in FW, it will be created only with TRACE enabled Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
This commit is contained in:
parent
767a81bd9f
commit
6c908797c6
|
@ -93,8 +93,6 @@ static int elf_read_sections(struct image *image, struct module *module,
|
||||||
/* find log entries and fw ready sections */
|
/* find log entries and fw ready sections */
|
||||||
module->logs_index = elf_find_section(image, module,
|
module->logs_index = elf_find_section(image, module,
|
||||||
".static_log_entries");
|
".static_log_entries");
|
||||||
if (module->logs_index < 0)
|
|
||||||
return module->logs_index;
|
|
||||||
|
|
||||||
module->fw_ready_index = elf_find_section(image, module,
|
module->fw_ready_index = elf_find_section(image, module,
|
||||||
".fw_ready");
|
".fw_ready");
|
||||||
|
|
Loading…
Reference in New Issue