mips/malta: load the initrd at the end of the low memory
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 23 Jun 2017 10:42:56 +0000 (12:42 +0200)
committerYongbok Kim <yongbok.kim@imgtec.com>
Tue, 11 Jul 2017 14:06:34 +0000 (15:06 +0100)
commit9768e2abf7ca3ef181f7cec134d7305c1643f78a
treec3b6dd6d064580e0b0a671aa0df52a9d396768a1
parentcab4888136a92250fdd401402622824994f7ce0b
mips/malta: load the initrd at the end of the low memory

Currently the malta board is loading the initrd just after the kernel.
This doesn't work for kaslr enabled kernels, as the initrd ends-up being
overwritten.

Move the initrd at the end of the low memory, that should leave a
sufficient gap for kaslr.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Tested-by: Yongbok Kim <yongbok.kim@imgtec.com>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
hw/mips/mips_malta.c