]> git.sur5r.net Git - u-boot/commit
nios2: call board_init_f_mem
authorThomas Chou <thomas@wytron.com.tw>
Wed, 9 Sep 2015 07:09:43 +0000 (15:09 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:28:50 +0000 (07:28 +0800)
commit3e468e6896aea45df1b8f6dbc9ebf5c3589c680a
tree410542938e41d29107ed5869915565a1f01f2a25
parent34243804d6ef8c0ad230df54a990768e3b970b83
nios2: call board_init_f_mem

We will need CONFIG_SYS_MALLOC_F_LEN to use serial uclass.
So we shall undefine CONFIG_SYS_GENERIC_GLOBAL_DATA, and
call board_init_f_mem() to allocates early malloc() memory
with size of CONFIG_SYS_MALLOC_F_LEN in board_f.c.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/nios2/cpu/start.S
arch/nios2/include/asm/config.h