targets/pipistrello: add mailbox memory region

This commit is contained in:
Sebastien Bourdeauducq 2015-04-15 20:41:28 +08:00
parent fd2def4951
commit 61a6506484
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ class AMP(_Peripherals):
self.mailbox.i1)
self.kernel_cpu.add_wb_slave(mem_decoder(self.mem_map["mailbox"]),
self.mailbox.i2)
self.add_memory_region("mailbox",
self.mem_map["mailbox"] + 0x80000000, 4)
rtio_csrs = self.rtio.get_kernel_csrs()
self.submodules.rtiowb = wbgen.Bank(rtio_csrs)