This patch increases size of stack space reserved for ATAGS to FDT
conversion from 64 KiB to 256 KiB to fix DTB corruption when size of DTB
blob exceeds 64 KiB.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
* area. No GOT fixup has occurred yet, but none of the
* code we're about to call uses any global variable.
*/
- add sp, sp, #0x10000
+ add sp, sp, #0x40000
stmfd sp!, {r0-r3, ip, lr}
mov r0, r8
mov r1, r6
bleq atags_to_fdt
ldmfd sp!, {r0-r3, ip, lr}
- sub sp, sp, #0x10000
+ sub sp, sp, #0x40000
#endif
mov r8, r6 @ use the appended device tree