9
0
Fork 0
barebox/drivers
Sascha Hauer 555dc6cc60 of: speed up unflatten
We calculate the full path of the current node using fdt_get_path which
takes a lot of time since libfdt has to iterate over the dtb several times.
Speed this up by creating and using a of_find_child function which does
not have to iterate over the whole tree but only over its direct children.
On an i.MX51 board this speeds up unflatten the tree from 60ms to 3.7ms.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-01-19 11:48:17 +01:00
..
amba amba: add periph id RO params to the device 2012-10-15 08:57:38 +02:00
ata ata sff: set device pointer in ata port 2012-12-17 08:42:32 +01:00
base drivers/base: fix corrupt device tree 2012-12-12 15:04:27 +01:00
clk Merge branch 'kconfig' 2012-12-08 12:22:21 +01:00
clocksource BCM2835: add clocksource driver 2012-10-21 10:51:19 +02:00
dma Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
eeprom Merge branch 'kconfig' 2012-12-08 12:22:21 +01:00
gpio gpiolib: add command to dump the current gpio status 2012-12-22 16:39:24 +01:00
i2c drivers/base: fix corrupt device tree 2012-12-12 15:04:27 +01:00
input Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
led led-gpio: use gpio_request and gpio_free 2013-01-02 11:04:23 +01:00
mci Merge branch 'for-next/omap' 2013-01-09 10:29:08 +01:00
mfd MFD MC34708: Add dependence on SPI 2012-12-21 12:18:08 +01:00
misc Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
mtd Merge branch 'for-next/ubi' 2013-01-09 10:29:08 +01:00
net Merge branch 'pu/net-link' 2012-12-13 16:26:19 +01:00
nor Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
of of: speed up unflatten 2013-01-19 11:48:17 +01:00
pwm switch all platform_bus device/driver registering to platform_driver/device_register 2012-10-04 15:19:12 +02:00
serial Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
spi spi: atmel: request cs pin via gpiolib 2013-01-02 10:56:16 +01:00
usb Merge branch 'for-next/omap' 2013-01-09 10:29:08 +01:00
video Fix wrong Kconfig reference to ARCH_IMX31 2012-12-08 12:22:12 +01:00
w1 drivers/base: fix corrupt device tree 2012-12-12 15:04:27 +01:00
watchdog Merge branch 'kconfig' 2012-12-08 12:22:21 +01:00
Kconfig Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
Makefile Merge branch 'for-next/bcm2835' 2012-11-16 14:00:34 +01:00