[U-Boot] [PATCH 1/5] treewide: include libfdt_env.h before fdt.h

Jerry Van Baren gvb.uboot at gmail.com
Fri Jan 18 13:02:31 CET 2013


Hi Kim,

On 01/16/2013 06:59 PM, Kim Phillips wrote:
> 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 at freescale.com>
> Cc: Jerry Van Baren <gvb.uboot at gmail.com>

Thanks, that was very helpful.  I applied the series to my personal
tree, will push when the dust settles.

I created a patch that uses just libfdt.h as the interface #include,
will publish when the dust settles on the dtc (device tree) list discussion.

Thanks,
gvb


More information about the U-Boot mailing list