Increase the space we use after the kernel to 8MiB. On 2GiB HiKey board we

would try to access data past this point stopping the boot.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
andrew 2016-02-02 16:35:37 +00:00
parent 80defbca6b
commit 7c81e8b652

View File

@ -369,8 +369,8 @@ create_pagetables:
sub x8, x7, x6
/* Get the number of l2 pages to allocate, rounded down */
lsr x10, x8, #(L2_SHIFT)
/* Add 4 MiB for any rounding above and the module data */
add x10, x10, #2
/* Add 8 MiB for any rounding above and the module data */
add x10, x10, #4
/* Create the kernel space L2 table */
mov x6, x26