summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-11-24 13:33:51 +0100
committerWolfgang Denk <wd@denx.de>2008-12-13 23:31:49 +0100
commitcd6734510a9ff0f41c4a73567d4080ea0033d2c1 (patch)
treefc9636d5e17498770310e62ee22461d2925db27d /include
parent89d56f5503eed351efe5ab0b4dd0f1e888fd2336 (diff)
downloadu-boot-cd6734510a9ff0f41c4a73567d4080ea0033d2c1.tar.gz
u-boot-cd6734510a9ff0f41c4a73567d4080ea0033d2c1.tar.xz
u-boot-cd6734510a9ff0f41c4a73567d4080ea0033d2c1.zip
Fix FIT and FDT support to have CONFIG_OF_LIBFDT and CONFIG_FIT independent
FDT support is used for both FIT style images and for architectures that can pass a fdt blob to an OS (ppc, m68k, sparc). For other architectures and boards which do not pass a fdt blob to an OS but want to use the new uImage format, we just need FIT support. Now we can have the 4 following configurations : 1) FIT only CONFIG_FIT 2) fdt blob only CONFIG_OF_LIBFDT 3) both CONFIG_OF_LIBFDT & CONFIG_FIT 4) none none Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include')
-rw-r--r--include/image.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/image.h b/include/image.h
index 54335559af..4609200b85 100644
--- a/include/image.h
+++ b/include/image.h
@@ -50,10 +50,6 @@
#endif /* USE_HOSTCC */
-#if defined(CONFIG_FIT) && !defined(CONFIG_OF_LIBFDT)
-#error "CONFIG_OF_LIBFDT not enabled, required by CONFIG_FIT!"
-#endif
-
#include <command.h>
#if defined(CONFIG_FIT)