diff --git a/linux-ramdump-parser-v2/boards.py b/linux-ramdump-parser-v2/boards.py index 79c385f49f1e66e6a61788c434c3d8a56f4f3bad..aa94cf9b6a74e357fc23a7eac389ab34cab7ee0d 100755 --- a/linux-ramdump-parser-v2/boards.py +++ b/linux-ramdump-parser-v2/boards.py @@ -1,4 +1,4 @@ -# 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 # it under the terms of the GNU General Public License version 2 and @@ -415,6 +415,20 @@ class BoardCobalt(Board): self.wdog_addr = 0x146BF658 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): def __init__(self, socid): super(Board8998, self).__init__() @@ -665,6 +679,8 @@ boards.append(Board660(socid=326)) boards.append(Board630(socid=318)) boards.append(Board630(socid=327)) +boards.append(BoardSDM845(socid=321)) + def get_supported_boards(): """ Called by other part of the code to get a list of boards """ return boards