Skip to content

Commit

Permalink
tools: sof_ri_info: update TGL memory layout
Browse files Browse the repository at this point in the history
change old TGL to TGL-LP, add new TGL-H

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
  • Loading branch information
xiulipan authored and lgirdwood committed Jan 12, 2021
1 parent 0767ffa commit 06d126f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tools/sof_ri_info/sof_ri_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ def dump_info(self):
DspMemorySegment('l2 lpsram', 0xbe800000, 1*64*1024)
])

TGL_MEMORY_SPACE = DspMemory('Intel Tigerlake',
TGL_LP_MEMORY_SPACE = DspMemory('Intel Tigerlake-LP',
[
DspMemorySegment('imr', 0xb0000000,16*1024*1024),
DspMemorySegment('l2 hpsram', 0xbe000000, 46*64*1024),
Expand All @@ -1319,12 +1319,20 @@ def dump_info(self):
DspMemorySegment('l2 lpsram', 0xbe800000, 1*64*1024)
])

TGL_H_MEMORY_SPACE = DspMemory('Intel Tigerlake-H',
[
DspMemorySegment('imr', 0xb0000000, 16*1024*1024),
DspMemorySegment('l2 hpsram', 0xbe000000, 30*64*1024),
DspMemorySegment('l2 lpsram', 0xbe800000, 1*64*1024)
])

DSP_MEM_SPACE_EXT = {
'apl' : APL_MEMORY_SPACE,
'cnl' : CNL_MEMORY_SPACE,
'icl' : ICL_MEMORY_SPACE,
'tgl' : TGL_MEMORY_SPACE,
'tgl' : TGL_LP_MEMORY_SPACE,
'jsl' : JSL_MEMORY_SPACE,
'tgl-h' : TGL_H_MEMORY_SPACE,
}

def main(args):
Expand Down

0 comments on commit 06d126f

Please sign in to comment.