cpu/microwatt: set csr to 0xc0000000 (IO region)

This commit is contained in:
Florent Kermarrec 2019-12-18 08:59:35 +01:00
parent 39a8ebe70c
commit 5da0bcbd7a
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ class Microwatt(CPU):
linker_output_format = "elf64-powerpc64le"
io_regions = {0xc0000000: 0x10000000} # origin, length
@property
def mem_map(self):
return {"csr": 0xc0000000}
@property
def gcc_flags(self):
flags = "-m64 "