summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2013-01-16 13:59:04 +0000
committerGerald Van Baren <gvb@unssw.com>2013-02-07 20:38:55 -0500
commit12e06fe03fdcd9cb9e9805ff78d1027377a1416d (patch)
treea383e2e08aa9aab0f39ac23a88b5f2a81561a043 /tools
parent6487d88aaa034e78e9882f7856ba670a8de88b41 (diff)
downloadu-boot-imx-12e06fe03fdcd9cb9e9805ff78d1027377a1416d.zip
u-boot-imx-12e06fe03fdcd9cb9e9805ff78d1027377a1416d.tar.gz
u-boot-imx-12e06fe03fdcd9cb9e9805ff78d1027377a1416d.tar.bz2
treewide: include libfdt_env.h before fdt.h
and, if including libfdt.h which includes libfdt_env.h in the correct order, don't include fdt.h before libfdt.h. this is needed to get the fdt type definitions set from the project environment before fdt.h uses them. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Jerry Van Baren <gvb.uboot@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/fdt_host.h1
-rw-r--r--tools/imls/imls.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/fdt_host.h b/tools/fdt_host.h
index 085013e..b08bf86 100644
--- a/tools/fdt_host.h
+++ b/tools/fdt_host.h
@@ -21,7 +21,6 @@
#define __FDT_HOST_H__
/* Make sure to include u-boot version of libfdt include files */
-#include "../include/fdt.h"
#include "../include/libfdt.h"
#include "../include/fdt_support.h"
diff --git a/tools/imls/imls.c b/tools/imls/imls.c
index b21c505..a982a13 100644
--- a/tools/imls/imls.c
+++ b/tools/imls/imls.c
@@ -38,7 +38,6 @@
#endif
#include <sha1.h>
-#include <fdt.h>
#include <libfdt.h>
#include <fdt_support.h>
#include <image.h>