From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 16 Jan 2013 18:36:03 -0600 Subject: [U-Boot] [PATCH 1/5] treewide: include libfdt_env.h before fdt.h In-Reply-To: <20130116175904.47ee25bd2596f28796698759@freescale.com> (from kim.phillips@freescale.com on Wed Jan 16 17:59:04 2013) References: <20130116175904.47ee25bd2596f28796698759@freescale.com> Message-ID: <1358382963.18317.17@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Jerry Van Baren Maybe fdt.h should include libfdt_env.h? Or just always use libfdt.h as the public header. -Scott