diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-10-26 16:29:38 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-11-01 17:04:11 +0100 |
commit | fc53b7d4b7fe409acae7d8d55a868eb5c696d71c (patch) | |
tree | f8032a9aa5006003121159e1599feb351a22ec1d /target-mips/cpu.h | |
parent | 46a3f234134a708883c4ace95d739f6226bb17f0 (diff) |
arm_boot: Change initrd load address to "halfway through RAM"
To avoid continually having to bump the initrd load address
to account for larger kernel images, put the initrd halfway
through RAM. This allows large kernels on new boards with lots
of RAM to work OK, without breaking existing usecases for
boards with only 32MB of RAM.
Note that this change fixes in passing a bug where we were
passing an overly large max_size to load_image_targphys()
for the initrd, which meant that we wouldn't correctly refuse
to load an enormous initrd that didn't actually fit into RAM.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
Tested-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips/cpu.h')
0 files changed, 0 insertions, 0 deletions