On Wed, 16 Jan 2013 18:36:03 -0600 Scott Wood <scottw...@freescale.com> wrote:
> 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.phill...@freescale.com> > > Cc: Jerry Van Baren <gvb.ub...@gmail.com> > > Maybe fdt.h should include libfdt_env.h? > > Or just always use libfdt.h as the public header. Was just following along the same lines as the dtc commits 38ad79d3 "dtc/tests: don't include fdt.h prior to libfdt.h" and 20b866a7 "dtc/fdtdump: include libfdt_env.h prior to fdt.h", acked by David G. I don't know why some only include fdt.h. devicetree-discuss/David: is there a prescribed way to go here? Change all fdt.h includers to just always include libfdt.h instead of libfdt_env.h prior to fdt.h? Kim _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot