[POWERPC] bootwrapper: cuboot-83xx: Exclude upper 1MB from heap.
authorScott Wood <scottwood@freescale.com>
Thu, 26 Apr 2007 17:19:31 +0000 (03:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 27 Apr 2007 11:14:21 +0000 (21:14 +1000)
commit173ba87b9584e4cba41ce9a06916eba80baa1bf4
treee15f27af2942af562d39248d82ff4db20fee1efd
parent4536b937466ff6784d2a9a4bebde924a0d6e01cb
[POWERPC] bootwrapper: cuboot-83xx: Exclude upper 1MB from heap.

The uppermost part of memory is where u-boot puts the stack, so don't
include that in the heap.  It's not currently causing problems, as the
current code allocates from the bottom of the heap, but this will keep
things from potentially breaking if a future implementation were to
allocate from the top.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/cuboot-83xx.c