summaryrefslogtreecommitdiff
path: root/libfdt/fdt_rw.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-11-21 08:49:50 -0600
committerKumar Gala <galak@kernel.crashing.org>2007-11-21 08:49:50 -0600
commited1353d74b9ce8a7fcd660570b848a184d614b5f (patch)
tree833d87a1235fd3323eb0bb563aaa82e863c7b9fa /libfdt/fdt_rw.c
parent4a43719a7738712811d822ca8125427b27a55cdc (diff)
downloadu-boot-imx-ed1353d74b9ce8a7fcd660570b848a184d614b5f.zip
u-boot-imx-ed1353d74b9ce8a7fcd660570b848a184d614b5f.tar.gz
u-boot-imx-ed1353d74b9ce8a7fcd660570b848a184d614b5f.tar.bz2
[BUILD] conditionally compile libfdt/*.c in libfdt/Makefile
Modify libfdt/Makefile to conditionally compile the *.c files based on the board config. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'libfdt/fdt_rw.c')
-rw-r--r--libfdt/fdt_rw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libfdt/fdt_rw.c b/libfdt/fdt_rw.c
index 55fcc41..852b6e6 100644
--- a/libfdt/fdt_rw.c
+++ b/libfdt/fdt_rw.c
@@ -16,9 +16,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "config.h"
-#if CONFIG_OF_LIBFDT
-
#include "libfdt_env.h"
#include <fdt.h>
@@ -320,5 +317,3 @@ int fdt_pack(void *fdt)
fdt_set_header(fdt, totalsize, _blob_data_size(fdt));
return 0;
}
-
-#endif /* CONFIG_OF_LIBFDT */