board_init_f_mem(): Don't create an unused early malloc() area
authorSimon Glass <sjg@chromium.org>
Mon, 19 Oct 2015 12:49:58 +0000 (06:49 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 24 Oct 2015 17:50:35 +0000 (13:50 -0400)
commit518f0bccc49e783ae6aa68af9cb3b3dcd912f2cf
treea80994fdfea5d483c2585f77fa69fc14f3d15148
parent12360982fa03b8d6ff9140f05067c3a8635c3540
board_init_f_mem(): Don't create an unused early malloc() area

Change the #ifdef so that the early malloc() area is not set up in SPL if
CONFIG_SYS_SPL_MALLOC_START is defined. In that case it would never actually
be used, and just chews up stack space.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
common/init/board_init.c