alistair23-linux/drivers/of
Jeremy Kerr 337148812f 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 <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2010-02-09 08:34:10 -07:00
..
base.c of: assume big-endian properties, adding conversions where necessary 2010-02-09 08:34:10 -07:00
device.c OF-device: Don't overwrite numa_node in device registration 2008-10-31 16:12:01 +11:00
fdt.c of: assume big-endian properties, adding conversions where necessary 2010-02-09 08:34:10 -07:00
gpio.c of: assume big-endian properties, adding conversions where necessary 2010-02-09 08:34:10 -07:00
Kconfig of: merge of_attach_node() & of_detach_node() 2010-02-09 08:32:42 -07:00
Makefile of/flattree: merge find_flat_dt_string and initial_boot_params 2009-11-23 14:53:09 -07:00
of_i2c.c of: assume big-endian properties, adding conversions where necessary 2010-02-09 08:34:10 -07:00
of_mdio.c of: assume big-endian properties, adding conversions where necessary 2010-02-09 08:34:10 -07:00
of_spi.c of: assume big-endian properties, adding conversions where necessary 2010-02-09 08:34:10 -07:00
platform.c of/platform: Implement support for dev_pm_ops 2009-10-30 17:20:53 +11:00