]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc: unused memory region too close to current stack pointer
authorNorbert van Bolhuis <nvbolhuis@aimvalley.nl>
Fri, 19 Mar 2010 14:34:25 +0000 (15:34 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 5 May 2010 21:55:02 +0000 (23:55 +0200)
commit3882d7a5a57eb8d1f41570522445bab61c628e6f
tree6b75e053e162e4728c3395158014342c80f72e35
parent4b42c9059e165500353174601a8e97b2cf81d3f4
ppc: unused memory region too close to current stack pointer

This avoids a possible overwrite of the (end of) ramdisk by u-boot.
The unused memory region for ppc boot currently starts 1k below the
do_bootm->bootm_start->arch_lmb_reserve stack ptr. This isn't enough since
do_bootm->do_bootm_linux->boot_relocate_fdt calls printf which may
very well use more than 1k stack space.

Signed-off-by: Norbert van Bolhuis <nvbolhuis@aimvalley.nl>
arch/powerpc/lib/bootm.c