From: Jeremy Kerr Date: Sat, 30 Jan 2010 08:45:26 +0000 (-0700) Subject: of: assume big-endian properties, adding conversions where necessary X-Git-Tag: v2.6.34-rc1~289^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=337148812f97368a8ec4a69f1691e4c5ce3af494;p=pandora-kernel.git of: assume big-endian properties, adding conversions where necessary Properties in the device tree are specified as big-endian. At present, the only platforms to support device trees are also big-endian, so we've been acessing the properties as raw values. We'd like to add device tree support to little-endian platforms too, so add endian conversion to the sites where we access property values in the common of code. Compiled on powerpc (ppc44x_defconfig & ppc64_defconfig) and arm (fdt support only for now). Signed-off-by: Jeremy Kerr Signed-off-by: Grant Likely --- Reading git-diff-tree failed