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

Scott Wood scottwood at freescale.com
Thu Jan 17 01:36:03 CET 2013


On 01/16/2013 05:59:04 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>

Maybe fdt.h should include libfdt_env.h?

Or just always use libfdt.h as the public header.

-Scott


More information about the U-Boot mailing list