Re: dtc: Address an assortment of portability problems

2008-07-14 Thread David Gibson
On Mon, Jul 14, 2008 at 01:54:41PM -0500, Jon Loeliger wrote: > > I've recently worked with a FreeBSD developer, getting dtc and libfdt > > working on FreeBSD. This showed up a number of portability problems > > in the dtc package which this patch addresses. Changes are as > > follows: > > > >

Re: dtc: Address an assortment of portability problems

2008-07-14 Thread Jon Loeliger
> I've recently worked with a FreeBSD developer, getting dtc and libfdt > working on FreeBSD. This showed up a number of portability problems > in the dtc package which this patch addresses. Changes are as > follows: > > - the parent_offset and supernode_atdepth_offset testcases > used the

Re: dtc: Address an assortment of portability problems

2008-06-27 Thread David Gibson
On Fri, Jun 27, 2008 at 09:53:03AM -0500, Scott Wood wrote: > David Gibson wrote: >> On Thu, Jun 26, 2008 at 10:25:28AM -0500, Scott Wood wrote: >>> On Thu, Jun 26, 2008 at 11:03:49AM +1000, David Gibson wrote: - the endian handling functions in libfdt_env.h, based on endian.h and byte

Re: dtc: Address an assortment of portability problems

2008-06-27 Thread Scott Wood
David Gibson wrote: On Thu, Jun 26, 2008 at 10:25:28AM -0500, Scott Wood wrote: On Thu, Jun 26, 2008 at 11:03:49AM +1000, David Gibson wrote: - the endian handling functions in libfdt_env.h, based on endian.h and byteswap.h are replaced with some portable open-coded versions. Unfortuna

Re: dtc: Address an assortment of portability problems

2008-06-26 Thread David Gibson
On Thu, Jun 26, 2008 at 10:25:28AM -0500, Scott Wood wrote: > On Thu, Jun 26, 2008 at 11:03:49AM +1000, David Gibson wrote: > > - the endian handling functions in libfdt_env.h, based on > > endian.h and byteswap.h are replaced with some portable open-coded > > versions. Unfortunately, these re

Re: dtc: Address an assortment of portability problems

2008-06-26 Thread Scott Wood
On Thu, Jun 26, 2008 at 11:03:49AM +1000, David Gibson wrote: > - the endian handling functions in libfdt_env.h, based on > endian.h and byteswap.h are replaced with some portable open-coded > versions. Unfortunately, these result in fairly crappy code when > compiled, but as far as I can de

dtc: Address an assortment of portability problems

2008-06-25 Thread David Gibson
I've recently worked with a FreeBSD developer, getting dtc and libfdt working on FreeBSD. This showed up a number of portability problems in the dtc package which this patch addresses. Changes are as follows: - the parent_offset and supernode_atdepth_offset testcases used the glibc exten