summaryrefslogtreecommitdiff
path: root/common/fdt_support.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-11-26 11:19:12 -0600
committerGerald Van Baren <vanbaren@cideas.com>2007-12-07 20:51:25 -0500
commit9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157 (patch)
tree95720c3ef7ba646c64204957bc9edd5899f27b5e /common/fdt_support.c
parentd88e7ba0980773479e1a64badb293116071b7ef0 (diff)
downloadu-boot-imx-9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157.zip
u-boot-imx-9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157.tar.gz
u-boot-imx-9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157.tar.bz2
Conditionally compile fdt_support.c
Modify common/Makefile to conditionally compile fdt_support.c based on CONFIG_OF_LIBFDT. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'common/fdt_support.c')
-rw-r--r--common/fdt_support.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c
index c67bb3d..69f4dd5 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -24,9 +24,6 @@
#include <common.h>
#include <linux/ctype.h>
#include <linux/types.h>
-
-#ifdef CONFIG_OF_LIBFDT
-
#include <asm/global_data.h>
#include <fdt.h>
#include <libfdt.h>
@@ -486,5 +483,3 @@ void fdt_fixup_ethernet(void *fdt, bd_t *bd)
#endif
}
}
-
-#endif /* CONFIG_OF_LIBFDT */