summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-08-10 14:49:11 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-08-10 14:49:11 +0100
commit38d34ecf0dd9fdb231981aac0040378acc091631 (patch)
tree7751494e5a584f8324731ceb1f82b65b1b88f6a5 /src
parentfa5e64987e185c3cf586e55957ebaa78b8b891fd (diff)
downloadgem5-38d34ecf0dd9fdb231981aac0040378acc091631.tar.xz
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 <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Brad Beckmann <brad.beckmann@amd.com> --HG-- extra : amend_source : c2cbda38636ea37cbe9ae6977a06b923eab5ba56
Diffstat (limited to 'src')
-rw-r--r--src/dev/arm/RealView.py6
1 files changed, 4 insertions, 2 deletions
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