linux/drivers/of
Sebastian Andrzej Siewior 0131d8973c of/address: use proper endianess in get_flags
This patch changes u32 to __be32 for all "ranges", "prop" and "addr" and
such. Those variables are pointing to the device tree which contains
integers in big endian format.

Most functions are doing it right because of_read_number() is doing the
right thing for them. of_bus_isa_get_flags(), of_bus_pci_get_flags() and
of_bus_isa_map() were accessing the data directly and were doing it wrong.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2010-12-23 15:57:48 -07:00
..
address.c of/address: use proper endianess in get_flags 2010-12-23 15:57:48 -07:00
base.c of: use __be32 types for big-endian device tree data 2010-10-12 21:58:42 -06:00
device.c of/device: Rework to use common platform_device_alloc() for allocating devices 2010-10-21 11:10:10 -06:00
fdt.c of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch 2010-10-21 11:10:10 -06:00
gpio.c of/gpio: fix of_gpio includes 2010-07-05 16:14:44 -06:00
irq.c of/irq: remove references to NO_IRQ in drivers/of/platform.c 2010-10-12 21:58:27 -06:00
Kconfig of/net: Move of_get_mac_address() to a common source file. 2010-11-01 01:08:14 -04:00
Makefile of/net: Move of_get_mac_address() to a common source file. 2010-11-01 01:08:14 -04:00
of_i2c.c of/mips: Cleanup some include directives/files. 2010-10-21 11:10:11 -06:00
of_mdio.c of/irq: Move irq_of_parse_and_map() to common code 2010-06-28 12:41:33 -07:00
of_net.c of/net: Move of_get_mac_address() to a common source file. 2010-11-01 01:08:14 -04:00
of_spi.c of/spi: call of_register_spi_devices() from spi core code 2010-07-30 00:03:59 -06:00
pdt.c of/promtree: add package-to-path support to pdt 2010-10-12 21:58:08 -06:00
platform.c of/device: Rework to use common platform_device_alloc() for allocating devices 2010-10-21 11:10:10 -06:00