diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2013-01-16 13:59:04 +0000 |
---|---|---|
committer | Gerald Van Baren <gvb@unssw.com> | 2013-02-07 20:38:55 -0500 |
commit | 12e06fe03fdcd9cb9e9805ff78d1027377a1416d (patch) | |
tree | a383e2e08aa9aab0f39ac23a88b5f2a81561a043 /include/fdt_support.h | |
parent | 6487d88aaa034e78e9882f7856ba670a8de88b41 (diff) | |
download | u-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 'include/fdt_support.h')
-rw-r--r-- | include/fdt_support.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h index 4b9f84a..a08c90b 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -26,6 +26,7 @@ #ifdef CONFIG_OF_LIBFDT +#include <libfdt_env.h> #include <fdt.h> u32 fdt_getprop_u32_default(const void *fdt, const char *path, |