commit | a4dc7ff08915a2035aa6d6decc53fa1deaa410bb | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@samba.org> | Tue Sep 19 14:06:27 2006 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Wed Sep 20 15:09:48 2006 +1000 |
tree | 9b28af3a21f915e3fe8ed7ee163be1b1d2bfe8b0 | |
parent | 19e59df4dc2e6f7b46190ee77ce7093769f597a7 [diff] |
[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>