Skip to content

Commit 7633cb3

Browse files
committed
rimage: mtl: extract platform part from mtl.toml.h
A part of mtl.toml.h is also needed for loadable modules, built for MTL. Extract it into a separate file. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 13fe9aa commit 7633cb3

2 files changed

Lines changed: 57 additions & 56 deletions

File tree

tools/rimage/config/mtl.toml.h

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,4 @@
1-
version = [3, 0]
2-
3-
[adsp]
4-
name = "mtl"
5-
image_size = "0x2C0000" # (22) bank * 128KB
6-
alias_mask = "0xE0000000"
7-
8-
[[adsp.mem_zone]]
9-
type = "ROM"
10-
base = "0x1FF80000"
11-
size = "0x400"
12-
[[adsp.mem_zone]]
13-
type = "IMR"
14-
base = "0xA104A000"
15-
size = "0x2000"
16-
[[adsp.mem_zone]]
17-
type = "SRAM"
18-
base = "0xa00f0000"
19-
size = "0x100000"
20-
21-
[[adsp.mem_alias]]
22-
type = "uncached"
23-
base = "0x40000000"
24-
[[adsp.mem_alias]]
25-
type = "cached"
26-
base = "0xA0000000"
27-
28-
[cse]
29-
partition_name = "ADSP"
30-
[[cse.entry]]
31-
name = "ADSP.man"
32-
offset = "0x5c"
33-
length = "0x4b8"
34-
[[cse.entry]]
35-
name = "ADSP.met"
36-
offset = "0x4c0"
37-
length = "0x70"
38-
[[cse.entry]]
39-
name = "ADSP"
40-
offset = "0x540"
41-
length = "0x0" # calculated by rimage
42-
43-
[css]
44-
45-
[signed_pkg]
46-
name = "ADSP"
47-
[[signed_pkg.module]]
48-
name = "ADSP.met"
49-
50-
[adsp_file]
51-
[[adsp_file.comp]]
52-
base_offset = "0x2000"
53-
54-
[fw_desc.header]
55-
name = "ADSPFW"
56-
load_offset = "0x40000"
1+
#include "platform-mtl.toml"
572

583
[[module.entry]]
594
name = "BRNGUP"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
version = [3, 0]
2+
3+
[adsp]
4+
name = "mtl"
5+
image_size = "0x2C0000" # (22) bank * 128KB
6+
alias_mask = "0xE0000000"
7+
8+
[[adsp.mem_zone]]
9+
type = "ROM"
10+
base = "0x1FF80000"
11+
size = "0x400"
12+
[[adsp.mem_zone]]
13+
type = "IMR"
14+
base = "0xA104A000"
15+
size = "0x2000"
16+
[[adsp.mem_zone]]
17+
type = "SRAM"
18+
base = "0xa00f0000"
19+
size = "0x100000"
20+
21+
[[adsp.mem_alias]]
22+
type = "uncached"
23+
base = "0x40000000"
24+
[[adsp.mem_alias]]
25+
type = "cached"
26+
base = "0xA0000000"
27+
28+
[cse]
29+
partition_name = "ADSP"
30+
[[cse.entry]]
31+
name = "ADSP.man"
32+
offset = "0x5c"
33+
length = "0x4b8"
34+
[[cse.entry]]
35+
name = "ADSP.met"
36+
offset = "0x4c0"
37+
length = "0x70"
38+
[[cse.entry]]
39+
name = "ADSP"
40+
offset = "0x540"
41+
length = "0x0" # calculated by rimage
42+
43+
[css]
44+
45+
[signed_pkg]
46+
name = "ADSP"
47+
[[signed_pkg.module]]
48+
name = "ADSP.met"
49+
50+
[adsp_file]
51+
[[adsp_file.comp]]
52+
base_offset = "0x2000"
53+
54+
[fw_desc.header]
55+
name = "ADSPFW"
56+
load_offset = "0x40000"

0 commit comments

Comments
 (0)