]> git.karo-electronics.de Git - karo-tx-linux.git/commit
of: use __be32 for cell value accessors
authorJeremy Kerr <jeremy.kerr@canonical.com>
Sat, 30 Jan 2010 08:41:49 +0000 (01:41 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 9 Feb 2010 15:34:10 +0000 (08:34 -0700)
commit2e89e685a8fd0e8334de967739d11e2e28c1a4dd
tree6fdf51430532616584f0ffa65376b5a2a4c49a40
parent36b9d3070d653af5807cef74ff129721d9047107
of: use __be32 for cell value accessors

Currently, we're using u32 for cell values, and hence assuming
host-endian device trees.

As we'd like to support little-endian platforms, use a __be32 for cell
values, and convert in the cell accessors.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/fdt.c
include/linux/of.h
include/linux/of_fdt.h