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:
Adrian Bonislawski 2019-06-19 11:57:49 +02:00 committed by Liam Girdwood
parent 767a81bd9f
commit 6c908797c6
1 changed files with 0 additions and 2 deletions

View File

@ -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");