ARM: keystone2: spl: Fix stack allocation with CONFIG_SYS_MALLOC_F_LEN
authorLokesh Vutla <lokeshvutla@ti.com>
Sat, 19 Sep 2015 09:30:17 +0000 (15:00 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:19:50 +0000 (14:19 -0400)
commitaaf461f9ad66fe193ea7ef5533446fe925dd4928
tree94377984e0bae29e7cc3339143c2418f78b05dda
parent8c80b1937b1b2a06acae5786e8e7c005fe28fd71
ARM: keystone2: spl: Fix stack allocation with CONFIG_SYS_MALLOC_F_LEN

If CONFIG_SYS_MALLOC_F_LEN is enabled, the stack is moved down to the
specified size to make the malloc function available before relocation.
But on keystone platforms SYS_SPL_MALLOC is immediately preceding stack,
which is causing an overlap with this config enabled.
So leave a gap between malloc space and stack space.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
include/configs/ti_armv7_keystone2.h