Skip to content

Commit

Permalink
Andromeda module support added
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-buerkler-enclustra committed Apr 5, 2023
1 parent 34af0ac commit 56db068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target.py
Original file line number Diff line number Diff line change
Expand Up @@ -1055,11 +1055,11 @@ def do_build(self, toolchains_paths, nthreads):
dtb.write("/dts-v1/;\n\n")
# include the device tree for the module at the top (module device tree name starts with ME- or MA-)
for dt in device_tree:
if "MA-" in dt or "ME-" in dt:
if "MA-" in dt or "ME-" in dt or "AM-" in dt:
dtb.write("#include \"" + dt + "\"\n")
# add other device tree below the module device tree
for dt in device_tree:
if "MA-" not in dt and "ME-" not in dt:
if "MA-" not in dt and "ME-" not in dt and "AM-" not in dt:
dtb.write("#include \"" + dt + "\"\n")
dtb.close()
self.utils.print_message(self.utils.logtype.OK, target + " device-tree " + dt_path +
Expand Down

0 comments on commit 56db068

Please sign in to comment.