From 01fa52ee7d7a64aacb5ca486ee589f001c3f6ccf Mon Sep 17 00:00:00 2001
From: Tingwei Zhang <tingwei@codeaurora.org>
Date: Fri, 10 Apr 2015 19:54:09 +0530
Subject: [PATCH] linux-ramdump-parser-v2: Add support for msm8952

Add support for detecting 8952 target and parsing the ramdumps.

Change-Id: Ic7d41826325e38ad58791f0710e82cd7bbb0c325
---
 linux-ramdump-parser-v2/boards.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/linux-ramdump-parser-v2/boards.py b/linux-ramdump-parser-v2/boards.py
index d7bc9e3..a1cb0c6 100755
--- a/linux-ramdump-parser-v2/boards.py
+++ b/linux-ramdump-parser-v2/boards.py
@@ -283,6 +283,19 @@ class Board8996(Board):
         self.wdog_addr = 0x66BF658
         self.imem_file_name = 'OCIMEM.BIN'
 
+class Board8952(Board):
+    def __init__(self, socid):
+        super(Board8952, self).__init__()
+        self.socid = socid
+        self.board_num = 8952
+        self.cpu = 'CORTEXA53'
+        self.ram_start = 0x80000000
+        self.smem_addr = 0x6300000
+        self.phys_offset = 0x80000000
+        self.imem_start = 0x8600000
+        self.wdog_addr = 0x8600658
+        self.imem_file_name = 'OCIMEM.BIN'
+
 boards = []
 
 boards.append(Board9640(socid=234))
@@ -448,6 +461,8 @@ boards.append(Board8992(socid=252))
 
 boards.append(Board8996(socid=246))
 
+boards.append(Board8952(socid=264))
+
 def get_supported_boards():
     """ Called by other part of the code to get a list of boards """
     return boards
-- 
GitLab