From: Kevin Hao Date: Tue, 24 Dec 2013 07:12:08 +0000 (+0800) Subject: powerpc: introduce early_get_first_memblock_info X-Git-Tag: v3.14-rc1~80^2~5^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b27652dd2174df1a7e0a7c5f00d1c8e3ed9287a7;p=pandora-kernel.git powerpc: introduce early_get_first_memblock_info For a relocatable kernel since it can be loaded at any place, there is no any relation between the kernel start addr and the memstart_addr. So we can't calculate the memstart_addr from kernel start addr. And also we can't wait to do the relocation after we get the real memstart_addr from device tree because it is so late. So introduce a new function we can use to get the first memblock address and size in a very early stage (before machine_init). Signed-off-by: Kevin Hao Signed-off-by: Scott Wood --- Reading git-diff-tree failed