kernel_optimize_test/drivers/of
Jeremy Kerr 1406bc2f57 of/flattree: use callback to setup initrd from /chosen
At present, the fdt code sets the kernel-wide initrd_start and
initrd_end variables when parsing /chosen. On ARM, we only set these
once the bootmem has been reserved.

This change adds an arch hook to setup the initrd from the device
tree:

 void early_init_dt_setup_initrd_arch(unsigned long start,
				      unsigned long end);

The arch-specific code can then setup the initrd however it likes.

Compiled on powerpc, with CONFIG_BLK_DEV_INITRD=y and =n.

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: include linux/proc_fs.h 2010-02-09 08:34:09 -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/flattree: use callback to setup initrd from /chosen 2010-02-09 08:34:10 -07:00
gpio.c of/gpio: Implement of_gpio_count() 2008-12-21 14:21:14 +11: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 drivers/of: Add the of_find_i2c_device_by_node function. 2009-01-09 15:49:06 -07:00
of_mdio.c of: Remove nested function 2009-10-15 09:58:27 -06:00
of_spi.c of/spi: Support specifying chip select as active high via device tree 2008-10-20 23:34:01 -05:00
platform.c of/platform: Implement support for dev_pm_ops 2009-10-30 17:20:53 +11:00