Remove unused dram_offset field / config option

There was no dram_offset value in any configuration file. It also wasn't
used anywhere in the code. So the code reading it from the tolm file has
been removed.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
This commit is contained in:
Adrian Warecki 2023-03-21 13:10:49 +01:00 committed by Liam Girdwood
parent 9633c3b66f
commit c21018335a
2 changed files with 0 additions and 6 deletions

View File

@ -66,7 +66,6 @@ static void dump_adsp(const struct adsp *adsp)
DUMP("\nadsp"); DUMP("\nadsp");
DUMP_KEY("name", "'%s'", adsp->name); DUMP_KEY("name", "'%s'", adsp->name);
DUMP_KEY("image_size", "0x%x", adsp->image_size); DUMP_KEY("image_size", "0x%x", adsp->image_size);
DUMP_KEY("dram_offset", "0x%x", adsp->dram_offset);
DUMP_KEY("exec_boot_ldr", "%d", adsp->exec_boot_ldr); DUMP_KEY("exec_boot_ldr", "%d", adsp->exec_boot_ldr);
for (i = 0; i < ARRAY_SIZE(adsp->mem_zones); ++i) { for (i = 0; i < ARRAY_SIZE(adsp->mem_zones); ++i) {
DUMP_KEY("mem_zone.idx", "%d", i); DUMP_KEY("mem_zone.idx", "%d", i);
@ -115,10 +114,6 @@ static int parse_adsp(const toml_table_t *toml, struct parse_ctx *pctx, struct a
if (ret < 0) if (ret < 0)
return ret; return ret;
out->dram_offset = parse_uint32_hex_key(adsp, &ctx, "dram_offset", 0, &ret);
if (ret < 0)
return ret;
out->exec_boot_ldr = parse_uint32_key(adsp, &ctx, "exec_boot_ldr", 0, &ret); out->exec_boot_ldr = parse_uint32_key(adsp, &ctx, "exec_boot_ldr", 0, &ret);
if (ret < 0) if (ret < 0)
return ret; return ret;

View File

@ -146,7 +146,6 @@ struct adsp {
struct mem_zone mem_zones[SOF_FW_BLK_TYPE_NUM]; struct mem_zone mem_zones[SOF_FW_BLK_TYPE_NUM];
uint32_t image_size; uint32_t image_size;
uint32_t dram_offset;
uint32_t alias_cached; uint32_t alias_cached;
uint32_t alias_uncached; uint32_t alias_uncached;