Skip to content
Snippets Groups Projects
Commit 3bb0e08d authored by Xiaogang Cui's avatar Xiaogang Cui
Browse files

linux-ramdump-parser-v2: Add support for new smem address on 8939

Add support for new shared memory address on target msm8939.

Change-Id: Ib1df74561bfbfbcc97a3b5154b1680d926c168fc
parent 4c5963b3
No related branches found
No related tags found
No related merge requests found
......@@ -167,13 +167,13 @@ class Board8916(Board):
self.imem_file_name = 'OCIMEM.BIN'
class Board8939(Board):
def __init__(self, socid):
def __init__(self, socid, smem_addr):
super(Board8939, self).__init__()
self.socid = socid
self.board_num = 8939
self.cpu = 'CORTEXA7'
self.ram_start = 0x80000000
self.smem_addr = 0xe200000
self.smem_addr = smem_addr
self.phys_offset = 0x80000000
self.imem_start = 0x8600000
self.wdog_addr = 0x8605658
......@@ -195,8 +195,10 @@ class Board8994(Board):
boards = []
boards.append(Board8916(socid=206, smem_addr=0xe200000))
boards.append(Board8916(socid=206, smem_addr=0x6300000))
boards.append(Board8939(socid=239))
boards.append(Board8939(socid=241))
boards.append(Board8939(socid=239, smem_addr=0xe200000))
boards.append(Board8939(socid=241, smem_addr=0xe200000))
boards.append(Board8939(socid=239, smem_addr=0x6300000))
boards.append(Board8939(socid=241, smem_addr=0x6300000))
boards.append(Board8974(socid=126))
boards.append(Board8974(socid=184))
boards.append(Board8974(socid=185))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment