commit | c3baacdb2596105a7761ff000edea8a10e925bb7 | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Tue Dec 08 14:42:14 2020 +1030 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 22 16:17:52 2021 -0500 |
tree | f1e481358764352b0d2a81b3489f0ccbf2f3c829 | |
parent | a9cc270a79a06b79d6f495c0cc6eb3091dcf79ce [diff] |
image-fit: Fix FIT_CIPHER linking When CONFIG_FIT_CIPHER=y and CONFIG_FIT_SIGNATURE=n is there is no implementation of image_get_host_blob for mkimage/dumpimage: /usr/bin/ld: tools/common/image-cipher.o: in function `fit_image_decrypt_data': image-cipher.c:(.text+0x9a): undefined reference to `image_get_host_blob' Move the implementation to a common file so it can be shaed between image-cipher.c and image-fit-sig.c. Signed-off-by: Joel Stanley <joel@jms.id.au>