Skip to content
Snippets Groups Projects
Commit cc4623db authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp-v2: Add support for msmcobalt"

parents 0775e624 162db331
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ class Board(object): ...@@ -14,6 +14,7 @@ class Board(object):
socid = shared id unique to a board type socid = shared id unique to a board type
board_num = human readable board number indicating the board type board_num = human readable board number indicating the board type
(e.g. 8960, 8974) (e.g. 8960, 8974)
cpu = T32 cpu model
ram_start = start of the DDR ram_start = start of the DDR
imem_start = start of location in which the watchdog address is stored imem_start = start of location in which the watchdog address is stored
smem_addr = start of the shared memory region smem_addr = start of the shared memory region
...@@ -376,6 +377,20 @@ class BoardCalifornium(Board): ...@@ -376,6 +377,20 @@ class BoardCalifornium(Board):
self.imem_file_name = 'OCIMEM.BIN' self.imem_file_name = 'OCIMEM.BIN'
class BoardCobalt(Board):
def __init__(self, socid):
super(BoardCobalt, self).__init__()
self.socid = socid
self.board_num = "cobalt"
self.cpu = 'CORTEXA53'
self.ram_start = 0x80000000
self.smem_addr = 0x6000000
self.phys_offset = 0x80000000
self.imem_start = 0x14680000
self.wdog_addr = 0x146BF658
self.imem_file_name = 'OCIMEM.BIN'
boards = [] boards = []
boards.append(Board9640(socid=234)) boards.append(Board9640(socid=234))
...@@ -570,6 +585,9 @@ boards.append(Board8917(socid=309)) ...@@ -570,6 +585,9 @@ boards.append(Board8917(socid=309))
boards.append(BoardCalifornium(socid=279)) boards.append(BoardCalifornium(socid=279))
boards.append(BoardCobalt(socid=292))
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