aboutsummaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-09-25 19:43:32 -0600
committerTom Rini <trini@konsulko.com>2021-10-08 15:53:27 -0400
commit0ab5e027045f78973b7b7d52a71a89a707398f9f (patch)
tree956d97aeccafa093f76373d380a82cf2e3c20dcd /include/image.h
parent1eccbb16a2c0427488d91e169572c3c397c4c1d5 (diff)
downloadu-boot-0ab5e027045f78973b7b7d52a71a89a707398f9f.zip
u-boot-0ab5e027045f78973b7b7d52a71a89a707398f9f.tar.gz
u-boot-0ab5e027045f78973b7b7d52a71a89a707398f9f.tar.bz2
image: Tidy up fit_unsupported_reset()
This function is only used in one place and does not need to use the preprocessor. Move it to the C file and convert it to a normal function. Drop fit_unsupported() since it is not used. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/image.h b/include/image.h
index a236180..e397da8 100644
--- a/include/image.h
+++ b/include/image.h
@@ -1433,19 +1433,6 @@ int fit_image_cipher_get_algo(const void *fit, int noffset, char **algo);
struct cipher_algo *image_get_cipher_algo(const char *full_name);
-#if CONFIG_IS_ENABLED(FIT_VERBOSE)
-#define fit_unsupported(msg) printf("! %s:%d " \
- "FIT images not supported for '%s'\n", \
- __FILE__, __LINE__, (msg))
-
-#define fit_unsupported_reset(msg) printf("! %s:%d " \
- "FIT images not supported for '%s' " \
- "- must reset board to recover!\n", \
- __FILE__, __LINE__, (msg))
-#else
-#define fit_unsupported(msg)
-#define fit_unsupported_reset(msg)
-#endif /* FIT_VERBOSE */
#endif /* CONFIG_FIT */
#if !defined(USE_HOSTCC)