diff options
author | Tom Rini <trini@konsulko.com> | 2022-09-07 08:38:44 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-07 08:38:44 -0400 |
commit | fc2f4085d33cf3e877695e24f63d009134382c48 (patch) | |
tree | b3e4a9d689de64cc9c8234431215990cee41a9ea /tools/binman/btool/futility.py | |
parent | 59c51fa4abbca41d2a4d60c0fe4d8f05fc83fb46 (diff) | |
parent | 7ac6842316ad1d412a49f88d8668923b40b09b5f (diff) |
Merge tag 'dm-pull-7sep22' of https://source.denx.de/u-boot/custodians/u-boot-dm
binman fixes for bintool support
Diffstat (limited to 'tools/binman/btool/futility.py')
-rw-r--r-- | tools/binman/btool/futility.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tools/binman/btool/futility.py b/tools/binman/btool/futility.py index 8d00966a9d0..75a05c2ac66 100644 --- a/tools/binman/btool/futility.py +++ b/tools/binman/btool/futility.py @@ -69,7 +69,7 @@ class Bintoolfutility(bintool.Bintool): https://chromium.googlesource.com/chromiumos/platform/vboot/+/refs/heads/main/_vboot_reference/README """ def __init__(self, name): - super().__init__(name, 'Chromium OS firmware utility') + super().__init__(name, 'Chromium OS firmware utility', r'^(.*)$', 'version') def gbb_create(self, fname, sizes): """Create a new Google Binary Block @@ -165,14 +165,3 @@ class Bintoolfutility(bintool.Bintool): fname, tmpdir = self.fetch_from_drive( '1hdsInzsE4aJbmBeJ663kYgjOQyW1I-E0') return fname, tmpdir - - def version(self): - """Version handler for futility - - Returns: - str: Version string for futility - """ - out = self.run_cmd('version').strip() - if not out: - return super().version() - return out |