From 537a25ef7ff6fc95221c70c9543404049143353d Mon Sep 17 00:00:00 2001 From: J-Alves Date: Mon, 2 Dec 2024 15:49:13 +0000 Subject: [PATCH] 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 Change-Id: Ic3f548e0ce7e704b3a12c2908f03d6a639bfa6f0 --- tools/tlc/tlc/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tlc/tlc/cli.py b/tools/tlc/tlc/cli.py index 81bf6fbfa..431af0465 100644 --- a/tools/tlc/tlc/cli.py +++ b/tools/tlc/tlc/cli.py @@ -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