fix(tlc): pass the flags from client interface

Provide the 'flags' from the arguments of the create
command to the TransferList __init__ function.

This is so that the '--flags' argument to the tool is actually
used.

Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: Ic3f548e0ce7e704b3a12c2908f03d6a639bfa6f0
This commit is contained in:
J-Alves 2024-12-02 15:49:13 +00:00 committed by Joao Alves
parent f0e15ddca3
commit 537a25ef7f

View file

@ -68,7 +68,7 @@ def create(filename, align, size, fdt, entry, flags, from_yaml):
tl = TransferList.from_dict(config)
else:
tl = TransferList(size, alignment=align)
tl = TransferList(size, flags=flags, alignment=align)
entry = (*entry, (1, fdt)) if fdt else entry