soc/integration/cpu_interface: fix banner in get_mem_header
This commit is contained in:
parent
5ec99d94ae
commit
f27084c6c0
|
@ -72,7 +72,7 @@ def get_linker_regions(regions):
|
|||
|
||||
def get_mem_header(regions, flash_boot_address):
|
||||
r = generated_banner("//")
|
||||
r = "#ifndef __GENERATED_MEM_H\n#define __GENERATED_MEM_H\n\n"
|
||||
r += "#ifndef __GENERATED_MEM_H\n#define __GENERATED_MEM_H\n\n"
|
||||
for name, base, size in regions:
|
||||
r += "#define {name}_BASE 0x{base:08x}\n#define {name}_SIZE 0x{size:08x}\n\n".format(name=name.upper(), base=base, size=size)
|
||||
if flash_boot_address is not None:
|
||||
|
|
Loading…
Reference in New Issue