From a33a4cd5206624207ec9e42a926e69dfe503625d Mon Sep 17 00:00:00 2001
From: Maria Yu <aiquny@codeaurora.org>
Date: Fri, 16 Mar 2018 15:24:08 +0800
Subject: [PATCH] lrdp-v2: Add support for SDM632

Add support for detecting sdm632 target and parsing the ramdumps.

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

diff --git a/linux-ramdump-parser-v2/boards.py b/linux-ramdump-parser-v2/boards.py
index 5ec0826..a9759e7 100644
--- a/linux-ramdump-parser-v2/boards.py
+++ b/linux-ramdump-parser-v2/boards.py
@@ -374,6 +374,20 @@ class Board450(Board):
         self.kaslr_addr = 0x86006d0
         self.imem_file_name = 'OCIMEM.BIN'
 
+class Board632(Board):
+    def __init__(self, socid):
+        super(Board632, self).__init__()
+        self.socid = socid
+        self.board_num = "632"
+        self.cpu = 'CORTEXA53'
+        self.ram_start = 0x80000000
+        self.smem_addr = 0x6300000
+        self.phys_offset = 0x40000000
+        self.imem_start = 0x8600000
+        self.kaslr_addr = 0x86006d0
+        self.wdog_addr = 0x8600658
+        self.imem_file_name = 'OCIMEM.BIN'
+
 class Board8917(Board):
     def __init__(self, socid):
         super(Board8917, self).__init__()
@@ -746,6 +760,8 @@ boards.append(Board8940(socid=313))
 boards.append(Board8953(socid=293))
 boards.append(Board8953(socid=304))
 boards.append(Board450(socid=338))
+boards.append(Board632(socid=349))
+boards.append(Board632(socid=350))
 
 boards.append(Board8917(socid=303))
 boards.append(Board8917(socid=307))
-- 
GitLab