summaryrefslogtreecommitdiff
path: root/common/image.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-08 08:05:58 +0000
committerTom Rini <trini@ti.com>2013-05-14 15:37:25 -0400
commit1fe7d93891905b9af1d81c9aef7b5646452ceb41 (patch)
tree30bb6a12d24fcb9912eaf2032cb6417dea39c622 /common/image.c
parentaa6d6db4d4e85f2cae5553a27d1140069fd3e8e1 (diff)
image: Remove remaining #ifdefs in image-fit.c
There are only two left. One is unnecessary and the other can be moved to the header file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/common/image.c b/common/image.c
index 564ed90ca0..d249758d57 100644
--- a/common/image.c
+++ b/common/image.c
@@ -296,12 +296,7 @@ void image_print_contents(const void *ptr)
const image_header_t *hdr = (const image_header_t *)ptr;
const char *p;
-#ifdef USE_HOSTCC
- p = "";
-#else
- p = " ";
-#endif
-
+ p = IMAGE_INDENT_STRING;
printf("%sImage Name: %.*s\n", p, IH_NMLEN, image_get_name(hdr));
if (IMAGE_ENABLE_TIMESTAMP) {
printf("%sCreated: ", p);