]> git.sur5r.net Git - u-boot/blobdiff - common/image.c
Fix FIT and FDT support to have CONFIG_OF_LIBFDT and CONFIG_FIT independent
[u-boot] / common / image.c
index 866edf619df4a0ada25c4d623aad5ef5c30a4d99..daa68bc2ddeb8f9c4c0dabe0a072f4f18f94ca9f 100644 (file)
@@ -1071,6 +1071,7 @@ int boot_ramdisk_high (struct lmb *lmb, ulong rd_data, ulong rd_len,
 error:
        return -1;
 }
+#endif /* defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC) */
 
 #ifdef CONFIG_OF_LIBFDT
 static void fdt_error (const char *msg)
@@ -1575,6 +1576,7 @@ error:
 }
 #endif /* CONFIG_OF_LIBFDT */
 
+#if defined(CONFIG_PPC) || defined(CONFIG_M68K)
 /**
  * boot_get_cmdline - allocate and initialize kernel cmdline
  * @lmb: pointer to lmb handle, will be used for memory mgmt