[POWERPC] Define of_read_ulong helper
authorPaul Mackerras <paulus@samba.org>
Tue, 19 Sep 2006 04:06:27 +0000 (14:06 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 20 Sep 2006 05:09:48 +0000 (15:09 +1000)
There are various places where we want to extract an unsigned long
value from a device-tree property that can be 1 or 2 cells in length.
This replaces some open-coded calculations, and one place where we
assumed without checking that properties were the length we wanted,
with a little of_read_ulong() helper.

Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found