From 4cf23773bb1484054bc85d5173aa93040e2f38c9 Mon Sep 17 00:00:00 2001 From: Patrick Daly <pdaly@codeaurora.org> Date: Tue, 8 Nov 2016 13:46:00 -0800 Subject: [PATCH] lrdp-v2: Rename cobalt to msm8998 Update the target name according to the latest guidelines. Change-Id: I6c8ae233213aed1a6b57fc1b4eaf8f7b7b81b98d Signed-off-by: Patrick Daly <pdaly@codeaurora.org> --- linux-ramdump-parser-v2/boards.py | 8 +++--- linux-ramdump-parser-v2/cachedumplib.py | 38 ++++++++++++------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/linux-ramdump-parser-v2/boards.py b/linux-ramdump-parser-v2/boards.py index 4f7d410..70d20b8 100755 --- a/linux-ramdump-parser-v2/boards.py +++ b/linux-ramdump-parser-v2/boards.py @@ -401,11 +401,11 @@ class BoardCalifornium(Board): self.imem_file_name = 'OCIMEM.BIN' -class BoardCobalt(Board): +class Board8998(Board): def __init__(self, socid): - super(BoardCobalt, self).__init__() + super(Board8998, self).__init__() self.socid = socid - self.board_num = "cobalt" + self.board_num = "8998" self.cpu = 'CORTEXA53' self.ram_start = 0x80000000 self.smem_addr = 0x6000000 @@ -613,7 +613,7 @@ boards.append(Board8920(socid=320)) boards.append(BoardCalifornium(socid=279)) -boards.append(BoardCobalt(socid=292)) +boards.append(Board8998(socid=292)) def get_supported_boards(): diff --git a/linux-ramdump-parser-v2/cachedumplib.py b/linux-ramdump-parser-v2/cachedumplib.py index 6f74261..2fc1c43 100755 --- a/linux-ramdump-parser-v2/cachedumplib.py +++ b/linux-ramdump-parser-v2/cachedumplib.py @@ -434,25 +434,25 @@ class L1_ICache_KRYO2XX_GOLD(CacheDumpType_v1): L1_DCache_KRYO2XX_SILVER = L1_DCache_A53 L1_ICache_KYRO2XX_SILVER = L1_ICache_A53 -# "msmcobalt" -lookuptable[("cobalt", 0x80, 0x14)] = L1_DCache_KRYO2XX_SILVER() -lookuptable[("cobalt", 0x81, 0x14)] = L1_DCache_KRYO2XX_SILVER() -lookuptable[("cobalt", 0x82, 0x14)] = L1_DCache_KRYO2XX_SILVER() -lookuptable[("cobalt", 0x84, 0x14)] = L1_DCache_KRYO2XX_SILVER() -lookuptable[("cobalt", 0x84, 0x14)] = L1_DCache_KRYO2XX_GOLD() -lookuptable[("cobalt", 0x85, 0x14)] = L1_DCache_KRYO2XX_GOLD() -lookuptable[("cobalt", 0x86, 0x14)] = L1_DCache_KRYO2XX_GOLD() -lookuptable[("cobalt", 0x87, 0x14)] = L1_DCache_KRYO2XX_GOLD() - - -lookuptable[("cobalt", 0x60, 0x14)] = L1_ICache_KYRO2XX_SILVER() -lookuptable[("cobalt", 0x61, 0x14)] = L1_ICache_KYRO2XX_SILVER() -lookuptable[("cobalt", 0x62, 0x14)] = L1_ICache_KYRO2XX_SILVER() -lookuptable[("cobalt", 0x63, 0x14)] = L1_ICache_KYRO2XX_SILVER() -lookuptable[("cobalt", 0x64, 0x14)] = L1_ICache_KRYO2XX_GOLD() -lookuptable[("cobalt", 0x65, 0x14)] = L1_ICache_KRYO2XX_GOLD() -lookuptable[("cobalt", 0x66, 0x14)] = L1_ICache_KRYO2XX_GOLD() -lookuptable[("cobalt", 0x67, 0x14)] = L1_ICache_KRYO2XX_GOLD() +# "msm8998" +lookuptable[("8998", 0x80, 0x14)] = L1_DCache_KRYO2XX_SILVER() +lookuptable[("8998", 0x81, 0x14)] = L1_DCache_KRYO2XX_SILVER() +lookuptable[("8998", 0x82, 0x14)] = L1_DCache_KRYO2XX_SILVER() +lookuptable[("8998", 0x84, 0x14)] = L1_DCache_KRYO2XX_SILVER() +lookuptable[("8998", 0x84, 0x14)] = L1_DCache_KRYO2XX_GOLD() +lookuptable[("8998", 0x85, 0x14)] = L1_DCache_KRYO2XX_GOLD() +lookuptable[("8998", 0x86, 0x14)] = L1_DCache_KRYO2XX_GOLD() +lookuptable[("8998", 0x87, 0x14)] = L1_DCache_KRYO2XX_GOLD() + + +lookuptable[("8998", 0x60, 0x14)] = L1_ICache_KYRO2XX_SILVER() +lookuptable[("8998", 0x61, 0x14)] = L1_ICache_KYRO2XX_SILVER() +lookuptable[("8998", 0x62, 0x14)] = L1_ICache_KYRO2XX_SILVER() +lookuptable[("8998", 0x63, 0x14)] = L1_ICache_KYRO2XX_SILVER() +lookuptable[("8998", 0x64, 0x14)] = L1_ICache_KRYO2XX_GOLD() +lookuptable[("8998", 0x65, 0x14)] = L1_ICache_KRYO2XX_GOLD() +lookuptable[("8998", 0x66, 0x14)] = L1_ICache_KRYO2XX_GOLD() +lookuptable[("8998", 0x67, 0x14)] = L1_ICache_KRYO2XX_GOLD() # 8994 -- GitLab