From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Fri, 18 Jan 2013 07:02:31 -0500 Subject: [U-Boot] [PATCH 1/5] treewide: include libfdt_env.h before fdt.h In-Reply-To: <20130116175904.47ee25bd2596f28796698759@freescale.com> References: <20130116175904.47ee25bd2596f28796698759@freescale.com> Message-ID: <50F939D7.1070205@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Jerry Van Baren 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