[RFC] FDT fix for 64 bit platforms

From: Jayachandran C. <jchandra_at_freebsd.org>
Date: Sat, 15 Oct 2011 00:40:36 +0530
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 tree pointer 'fdtp', which will be 32
bit.

Review or testing from device tree users will be welcome.

JC.

Received on Fri Oct 14 2011 - 17:36:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC