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-31 13:28:43 -07:00
2006-07-31 13:28:43 -07:00
2006-09-14 10:36:11 +10:00
2006-09-11 13:32:30 -04:00
2006-08-25 14:56:07 +10:00
2006-08-25 13:17:08 +10:00
2006-08-01 10:37:25 +10:00
2006-04-22 18:45:05 +10:00
2006-08-31 15:45:48 +10:00
2006-08-25 14:56:07 +10:00
2006-08-25 14:56:07 +10:00
2006-08-08 17:08:56 +10:00
2006-08-01 10:37:25 +10:00
2006-08-31 15:45:48 +10:00
2006-06-15 19:31:26 +10:00
2006-08-31 15:45:48 +10:00
2006-08-31 15:45:48 +10:00
2006-09-20 15:09:48 +10:00
2006-09-20 15:09:48 +10:00