image: Remove remaining #ifdefs in image-fit.c
[platform/kernel/u-boot.git] / common / image-fit.c
index 9516abf..ec7b038 100644 (file)
@@ -149,11 +149,8 @@ void fit_print_contents(const void *fit)
        const char *p;
        time_t timestamp;
 
-#ifdef USE_HOSTCC
-       p = "";
-#else
-       p = "   ";
-#endif
+       /* Indent string is defined in header image.h */
+       p = IMAGE_INDENT_STRING;
 
        /* Root node properties */
        ret = fit_get_desc(fit, 0, &desc);
@@ -1463,7 +1460,6 @@ void fit_conf_print(const void *fit, int noffset, const char *p)
  *     1, on success
  *     0, on failure
  */
-#ifndef USE_HOSTCC
 int fit_check_ramdisk(const void *fit, int rd_noffset, uint8_t arch,
                        int verify)
 {
@@ -1492,4 +1488,3 @@ int fit_check_ramdisk(const void *fit, int rd_noffset, uint8_t arch,
        bootstage_mark(BOOTSTAGE_ID_FIT_RD_CHECK_ALL_OK);
        return 1;
 }
-#endif /* USE_HOSTCC */