diff options
author | Pali Rohár <pali@kernel.org> | 2023-01-21 13:00:21 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2023-03-01 06:39:17 +0100 |
commit | 0201244c3c8b6bdaa1e3ff47ab51ba3626d9c060 (patch) | |
tree | 3ecee0569d843da2b66483c658f7691d50e97826 /tools | |
parent | 9f39f1992607a95ec9b72c02b34e2f8c15a02bef (diff) | |
download | u-boot-0201244c3c8b6bdaa1e3ff47ab51ba3626d9c060.tar.gz u-boot-0201244c3c8b6bdaa1e3ff47ab51ba3626d9c060.tar.bz2 u-boot-0201244c3c8b6bdaa1e3ff47ab51ba3626d9c060.zip |
tools: kwbimage: Reject mkimage -F option
mkimage -F option (re-sign existing FIT image) signaled by fflag is not
supported by kwbimage. So mark its usage as invalid parameter.
Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kwbimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 97be3bed79..0c3b40d075 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -2440,7 +2440,7 @@ static int kwbimage_check_params(struct image_tool_params *params) } return (params->dflag && (params->fflag || params->lflag)) || - (params->fflag && (params->dflag || params->lflag)) || + (params->fflag) || (params->lflag && (params->dflag || params->fflag)) || (params->xflag); } |