Re: [RFC] FDT fix for 64 bit platforms

2011-10-15 Thread Rafal Jaworowski
On 2011-10-15, at 18:48, Marcel Moolenaar wrote: > > On Oct 15, 2011, at 9:33 AM, Jayachandran C. wrote: > >> On Sat, Oct 15, 2011 at 8:43 PM, Nathan Whitehorn >> wrote: >>> On 10/15/11 01:12, Jayachandran C. wrote: On Sat, Oct 15, 2011 at 2:01 AM, Nathan Whitehorn wrote: >>>

Re: [RFC] FDT fix for 64 bit platforms

2011-10-15 Thread Marcel Moolenaar
On Oct 15, 2011, at 9:33 AM, Jayachandran C. wrote: > On Sat, Oct 15, 2011 at 8:43 PM, Nathan Whitehorn > wrote: >> On 10/15/11 01:12, Jayachandran C. wrote: >>> >>> On Sat, Oct 15, 2011 at 2:01 AM, Nathan Whitehorn >>> wrote: On 10/14/11 14:10, Jayachandran C. wrote: > >

Re: [RFC] FDT fix for 64 bit platforms

2011-10-15 Thread Jayachandran C.
On Sat, Oct 15, 2011 at 8:43 PM, Nathan Whitehorn wrote: > On 10/15/11 01:12, Jayachandran C. wrote: >> >> On Sat, Oct 15, 2011 at 2:01 AM, Nathan Whitehorn >>  wrote: >>> >>> On 10/14/11 14:10, Jayachandran C. wrote: I'm planning commit this -CURRENT if there an no objections. >>>

Re: [RFC] FDT fix for 64 bit platforms

2011-10-15 Thread Nathan Whitehorn
On 10/15/11 01:12, Jayachandran C. wrote: On Sat, Oct 15, 2011 at 2:01 AM, Nathan Whitehorn wrote: On 10/14/11 14:10, Jayachandran C. wrote: I'm planning commit this -CURRENT if there an no objections. In the current implementation, phandle is used to store a pointer to the location inside t

Re: [RFC] FDT fix for 64 bit platforms

2011-10-14 Thread Jayachandran C.
On Sat, Oct 15, 2011 at 2:01 AM, Nathan Whitehorn wrote: > On 10/14/11 14:10, Jayachandran C. wrote: >> >> I'm planning commit this -CURRENT if there an no objections. >> >> In the current implementation, phandle is used to store a pointer to >> the location inside the device tree.  Since phandle_

Re: [RFC] FDT fix for 64 bit platforms

2011-10-14 Thread Nathan Whitehorn
On 10/14/11 14:10, Jayachandran C. wrote: I'm planning commit this -CURRENT if there an no objections. In the current implementation, phandle is used to store a pointer to the location inside the device tree. Since phandle_t is u32, this will not work on 64 bit platforms. With this fix, the pha

[RFC] FDT fix for 64 bit platforms

2011-10-14 Thread Jayachandran C.
I'm planning commit this -CURRENT if there an no objections. In the current implementation, phandle is used to store a pointer to the location inside the device tree. Since phandle_t is u32, this will not work on 64 bit platforms. With this fix, the phandle is the offset from the start of device