mkimage: fit: don't cipher ciphered data
authorPatrick Oppenlander <patrick.oppenlander@gmail.com>
Thu, 30 Jul 2020 04:22:15 +0000 (14:22 +1000)
committerTom Rini <trini@konsulko.com>
Fri, 7 Aug 2020 15:47:18 +0000 (11:47 -0400)
commitb33e5cc18263d438d11bb9a728b4117cc560cae4
tree9f2dc27543df7ba6adeb659f6838574626f34382
parent04aeebb131081698204ad38bd8aba7140cd3ba22
mkimage: fit: don't cipher ciphered data

Previously, mkimage -F could be run multiple times causing already
ciphered image data to be ciphered again.

Signed-off-by: Patrick Oppenlander <patrick.oppenlander@gmail.com>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
tools/image-host.c