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
This commit is contained in:
parent
fa5e64987e
commit
38d34ecf0d
1 changed files with 4 additions and 2 deletions
|
@ -759,7 +759,8 @@ class VExpress_EMM64(VExpress_EMM):
|
||||||
pci_pio_base=0x2f000000)
|
pci_pio_base=0x2f000000)
|
||||||
|
|
||||||
def setupBootLoader(self, mem_bus, cur_sys, loc):
|
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
|
self.nvmem.port = mem_bus.master
|
||||||
cur_sys.boot_loader = loc('boot_emm.arm64')
|
cur_sys.boot_loader = loc('boot_emm.arm64')
|
||||||
cur_sys.atags_addr = 0x8000000
|
cur_sys.atags_addr = 0x8000000
|
||||||
|
@ -928,7 +929,8 @@ Interrupts:
|
||||||
device.dma = bus.slave
|
device.dma = bus.slave
|
||||||
|
|
||||||
def setupBootLoader(self, mem_bus, cur_sys, loc):
|
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
|
self.nvmem.port = mem_bus.master
|
||||||
cur_sys.boot_loader = [ loc('boot_emm.arm64'), loc('boot_emm.arm') ]
|
cur_sys.boot_loader = [ loc('boot_emm.arm64'), loc('boot_emm.arm') ]
|
||||||
cur_sys.atags_addr = 0x8000000
|
cur_sys.atags_addr = 0x8000000
|
||||||
|
|
Loading…
Reference in a new issue