summaryrefslogtreecommitdiff
path: root/common/image-fit.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2018-05-13 00:22:52 +0200
committerTom Rini <trini@konsulko.com>2018-05-23 22:06:39 -0400
commitb527b9c6c63040fa10b69351eeea23ed38ae4616 (patch)
treefbcc2e7f1c57faebaf0ef1557de9f7dcd19d4a69 /common/image-fit.c
parent26a642238bdecc53527142dc043b29e21c5cc94c (diff)
fit: Fix CONFIG_FIT_SPL_PRINT
Rename CONFIG_FIT_SPL_PRINT to CONFIG_SPL_FIT_PRINT and add Kconfig entry for it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/image-fit.c')
-rw-r--r--common/image-fit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/image-fit.c b/common/image-fit.c
index fec8f72bc6..9224456b61 100644
--- a/common/image-fit.c
+++ b/common/image-fit.c
@@ -142,7 +142,7 @@ int fit_get_subimage_count(const void *fit, int images_noffset)
return count;
}
-#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_FIT_SPL_PRINT)
+#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_FIT_PRINT)
/**
* fit_image_print_data() - prints out the hash node details
* @fit: pointer to the FIT format image header
@@ -543,7 +543,7 @@ void fit_image_print(const void *fit, int image_noffset, const char *p)
}
}
-#endif /* !defined(CONFIG_SPL_BUILD) || defined(CONFIG_FIT_SPL_PRINT) */
+#endif /* !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_FIT_PRINT) */
/**
* fit_get_desc - get node description property