From f27084c6c099e684f26b6c2a4523d73ddad9ac1f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 24 Apr 2019 22:44:37 +0200 Subject: [PATCH] soc/integration/cpu_interface: fix banner in get_mem_header --- litex/soc/integration/cpu_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/cpu_interface.py b/litex/soc/integration/cpu_interface.py index 99b569776..d8020a892 100644 --- a/litex/soc/integration/cpu_interface.py +++ b/litex/soc/integration/cpu_interface.py @@ -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: