Skip to content
Snippets Groups Projects
Commit 4ad47548 authored by Kyle Yan's avatar Kyle Yan
Browse files

lrdp-v2: Add support for SDM845

Add support for detecting sdm845 target and parsing the ramdumps.

Change-Id: Id7bd04d1f3a35bbb35b66a20a2ee2e39b86126c1
parent b4fa595a
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. # Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and # it under the terms of the GNU General Public License version 2 and
...@@ -415,6 +415,20 @@ class BoardCobalt(Board): ...@@ -415,6 +415,20 @@ class BoardCobalt(Board):
self.wdog_addr = 0x146BF658 self.wdog_addr = 0x146BF658
self.imem_file_name = 'OCIMEM.BIN' self.imem_file_name = 'OCIMEM.BIN'
class BoardSDM845(Board):
def __init__(self, socid):
super(BoardSDM845, self).__init__()
self.socid = socid
self.board_num = "sdm845"
self.cpu = 'CORTEXA53'
self.ram_start = 0x80000000
self.smem_addr = 0x6000000
self.phys_offset = 0x80000000
self.imem_start = 0x14680000
self.kaslr_addr = 0x146bf6d0
self.wdog_addr = 0x146BF658
self.imem_file_name = 'OCIMEM.BIN'
class Board8998(Board): class Board8998(Board):
def __init__(self, socid): def __init__(self, socid):
super(Board8998, self).__init__() super(Board8998, self).__init__()
...@@ -665,6 +679,8 @@ boards.append(Board660(socid=326)) ...@@ -665,6 +679,8 @@ boards.append(Board660(socid=326))
boards.append(Board630(socid=318)) boards.append(Board630(socid=318))
boards.append(Board630(socid=327)) boards.append(Board630(socid=327))
boards.append(BoardSDM845(socid=321))
def get_supported_boards(): def get_supported_boards():
""" Called by other part of the code to get a list of boards """ """ Called by other part of the code to get a list of boards """
return boards return boards
......
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