• Simon Glass's avatar
    Move board_init_f_mem() into a common location · af6bbd4d
    Simon Glass authored
    This function will be used by both SPL and U-Boot proper. So move it into
    a common place. Also 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: default avatarSimon Glass <sjg@chromium.org>
board_init.c 820 Bytes