From: Jeremy Kerr Date: Sat, 30 Jan 2010 08:31:21 +0000 (-0700) Subject: of/flattree: use callback to setup initrd from /chosen X-Git-Tag: v2.6.34-rc1~289^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1406bc2f57787797d1f6a3675c019a7093769275;p=pandora-kernel.git 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed