From: Andreas Sandberg Date: Wed, 10 Aug 2016 13:49:11 +0000 (+0100) Subject: arm: Don't report the boot ROM as a memory in config tables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38d34ecf0dd9fdb231981aac0040378acc091631;p=gem5.git arm: Don't report the boot ROM as a memory in config tables The boot ROM shouldn't be used as a memory by the kernel. Memories have a flag to indicate this which is set for some platforms. Update all platforms to consistently set this flag to indicate that the boot ROM shouldn't be reported as normal memory. Change-Id: I2bf0273e99d2a668e4e8d59f535c1910c745aa7b Signed-off-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris Reviewed-by: Brad Beckmann --HG-- extra : amend_source : c2cbda38636ea37cbe9ae6977a06b923eab5ba56 --- diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 17b3eb51d..8dedc068d 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -759,7 +759,8 @@ class VExpress_EMM64(VExpress_EMM): pci_pio_base=0x2f000000) def setupBootLoader(self, mem_bus, cur_sys, loc): - self.nvmem = SimpleMemory(range = AddrRange(0, size = '64MB')) + self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB'), + conf_table_reported=False) self.nvmem.port = mem_bus.master cur_sys.boot_loader = loc('boot_emm.arm64') cur_sys.atags_addr = 0x8000000 @@ -928,7 +929,8 @@ Interrupts: device.dma = bus.slave def setupBootLoader(self, mem_bus, cur_sys, loc): - self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB')) + self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB'), + conf_table_reported=False) self.nvmem.port = mem_bus.master cur_sys.boot_loader = [ loc('boot_emm.arm64'), loc('boot_emm.arm') ] cur_sys.atags_addr = 0x8000000