diff options
author | Kevin Hao <haokexin@gmail.com> | 2013-12-24 15:12:08 +0800 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-01-09 17:52:17 -0600 |
commit | b27652dd2174df1a7e0a7c5f00d1c8e3ed9287a7 (patch) | |
tree | a93bf5700c442d52a2ed86de8d2203f05e78cf23 /arch/powerpc/mm | |
parent | 78a235efdc42ff363de81fdbc171385e8b86b69b (diff) | |
download | blackbird-op-linux-b27652dd2174df1a7e0a7c5f00d1c8e3ed9287a7.tar.gz blackbird-op-linux-b27652dd2174df1a7e0a7c5f00d1c8e3ed9287a7.zip |
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 <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/mm')
0 files changed, 0 insertions, 0 deletions