Paul Mackerras a4dc7ff089 [POWERPC] Define of_read_ulong helper
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>
2006-09-20 15:09:48 +10:00
..
2006-07-14 17:27:26 +10:00
2006-09-20 14:06:18 +10:00
2006-08-08 17:07:04 +10:00
2006-02-15 15:32:22 -08:00
2006-06-30 18:20:44 +02:00
2006-09-14 07:07:18 +10:00
2006-06-15 19:31:26 +10:00
2006-07-03 15:27:00 -07:00
2006-08-24 10:07:23 +10:00
2006-06-30 18:20:44 +02:00
2006-07-07 20:19:15 +10:00
2006-09-20 15:09:48 +10:00
2006-06-29 16:58:06 -07:00
2006-03-25 09:41:40 -08:00
2006-06-21 15:01:32 +10:00
2006-08-25 14:56:07 +10:00
2006-04-29 18:07:54 +10:00