diff options
author | Tom Rini <trini@konsulko.com> | 2024-12-19 09:10:48 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-19 09:14:34 -0600 |
commit | 078542c346347406cfacdec8adeac66ae6758880 (patch) | |
tree | 9f9595f90f31df739d496f2f460b7142d7f9d939 /tools/binman/btool/mkimage.py | |
parent | 337bfdce5aa52637b482b182db959b9bb058f4b7 (diff) | |
parent | e7d7d3307c6109f2bec5dd5ba779996dd891348d (diff) |
Merge branch '2024-12-19-assorted-tooling-updates' into next
This brings in assortment of updates to our python tooling, from Paul
HENRYS <paul.henrys_ext@softathome.com>
Diffstat (limited to 'tools/binman/btool/mkimage.py')
-rw-r--r-- | tools/binman/btool/mkimage.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/binman/btool/mkimage.py b/tools/binman/btool/mkimage.py index 78d3301bc10..3f84220fb1a 100644 --- a/tools/binman/btool/mkimage.py +++ b/tools/binman/btool/mkimage.py @@ -22,7 +22,7 @@ class Bintoolmkimage(bintool.Bintool): # pylint: disable=R0913 def run(self, reset_timestamp=False, output_fname=None, external=False, - pad=None, align=None, priv_keys_dir=None): + pad=None, align=None, keys_dir=None): """Run mkimage Args: @@ -34,7 +34,7 @@ class Bintoolmkimage(bintool.Bintool): other things to be easily added later, if required, such as signatures align: Bytes to use for alignment of the FIT and its external data - priv_keys_dir: Path to directory containing private keys + keys_dir: Path to directory containing private and encryption keys version: True to get the mkimage version """ args = [] @@ -46,8 +46,8 @@ class Bintoolmkimage(bintool.Bintool): args += ['-B', f'{align:x}'] if reset_timestamp: args.append('-t') - if priv_keys_dir: - args += ['-k', f'{priv_keys_dir}'] + if keys_dir: + args += ['-k', f'{keys_dir}'] if output_fname: args += ['-F', output_fname] return self.run_cmd(*args) |