Skip to content

Commit

Permalink
lopper:assists:baremetallinker_xlnx: Add CODE and DATA sections
Browse files Browse the repository at this point in the history
Signed-off-by: Sathish Kumar Kamishettigari <sathishkumar.kamishettigari@amd.com>
  • Loading branch information
Sathish Kumar Kamishettigari authored and zeddii committed Jan 17, 2025
1 parent e916bb8 commit ce41ba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lopper/assists/baremetallinker_xlnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,8 @@ def xlnx_generate_bm_linker(tgt_node, sdt, options):
default_ddr = has_bram[0]

cfd.write("set(DDR %s)\n" % default_ddr)
cfd.write("set(CODE %s)\n" % default_ddr)
cfd.write("set(DATA %s)\n" % default_ddr)
memip_list = []
for key, value in sorted(mem_ranges.items(), key=lambda e: e[1][1], reverse=traverse):
# Here skip adding DDR system mem to config if OpenAMP module is set
Expand Down

0 comments on commit ce41ba6

Please sign in to comment.