Skip to content

Commit 9b507ec

Browse files
lyakhlgirdwood
authored andcommitted
config: set cached and uncached aliases for affected platforms
Set cached and uncached address aliases for all Intel ADSP platforms, supported by Zephyr. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent def9d51 commit 9b507ec

4 files changed

Lines changed: 32 additions & 0 deletions

File tree

config/mtl.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version = [3, 0]
33
[adsp]
44
name = "mtl"
55
image_size = "0x2C0000" # (22) bank * 128KB
6+
alias_mask = "0xE0000000"
67

78
[[adsp.mem_zone]]
89
type = "ROM"
@@ -17,6 +18,13 @@ type = "SRAM"
1718
base = "0xa00f0000"
1819
size = "0x100000"
1920

21+
[[adsp.mem_alias]]
22+
type = "uncached"
23+
base = "0x40000000"
24+
[[adsp.mem_alias]]
25+
type = "cached"
26+
base = "0xA0000000"
27+
2028
[cse]
2129
partition_name = "ADSP"
2230
[[cse.entry]]

config/tgl-h-cavs.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version = [2, 5]
33
[adsp]
44
name = "tgl"
55
image_size = "0x1F0000" # (30 + 1) bank * 64KB
6+
alias_mask = "0xE0000000"
67

78
[[adsp.mem_zone]]
89
type = "ROM"
@@ -21,6 +22,13 @@ type = "LP-SRAM"
2122
base = "0xBE800000"
2223
size = "0x40"
2324

25+
[[adsp.mem_alias]]
26+
type = "uncached"
27+
base = "0x9E000000"
28+
[[adsp.mem_alias]]
29+
type = "cached"
30+
base = "0xBE000000"
31+
2432
[cse]
2533
partition_name = "ADSP"
2634
[[cse.entry]]

config/tgl-h.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version = [2, 5]
33
[adsp]
44
name = "tgl"
55
image_size = "0x1F0000" # (30 + 1) bank * 64KB
6+
alias_mask = "0xE0000000"
67

78
[[adsp.mem_zone]]
89
type = "ROM"
@@ -17,6 +18,13 @@ type = "SRAM"
1718
base = "0xBE040000"
1819
size = "0x100000"
1920

21+
[[adsp.mem_alias]]
22+
type = "uncached"
23+
base = "0x9E000000"
24+
[[adsp.mem_alias]]
25+
type = "cached"
26+
base = "0xBE000000"
27+
2028
[cse]
2129
partition_name = "ADSP"
2230
[[cse.entry]]

config/tgl.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version = [2, 5]
33
[adsp]
44
name = "tgl"
55
image_size = "0x2F0000" # (46 + 1) bank * 64KB
6+
alias_mask = "0xE0000000"
67

78
[[adsp.mem_zone]]
89
type = "ROM"
@@ -17,6 +18,13 @@ type = "SRAM"
1718
base = "0xBE040000"
1819
size = "0x100000"
1920

21+
[[adsp.mem_alias]]
22+
type = "uncached"
23+
base = "0x9E000000"
24+
[[adsp.mem_alias]]
25+
type = "cached"
26+
base = "0xBE000000"
27+
2028
[cse]
2129
partition_name = "ADSP"
2230
[[cse.entry]]

0 commit comments

Comments
 (0)