treewide: include libfdt_env.h before fdt.h
authorKim Phillips <kim.phillips@freescale.com>
Wed, 16 Jan 2013 13:59:04 +0000 (13:59 +0000)
committerGerald Van Baren <gvb@unssw.com>
Fri, 8 Feb 2013 01:38:55 +0000 (20:38 -0500)
commit12e06fe03fdcd9cb9e9805ff78d1027377a1416d
treea383e2e08aa9aab0f39ac23a88b5f2a81561a043
parent6487d88aaa034e78e9882f7856ba670a8de88b41
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>
arch/arm/lib/bootm.c
arch/powerpc/lib/bootm.c
arch/x86/include/asm/arch-coreboot/sysinfo.h
common/cmd_bootm.c
common/cmd_fdt.c
common/fdt_support.c
common/image.c
include/fdt_support.h
include/image.h
tools/fdt_host.h
tools/imls/imls.c