commit | c3c6ab1923f3f03b2dd8f61fd07542a1bbbba5ba | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Wed Sep 09 15:09:43 2015 +0800 |
committer | Thomas Chou <thomas@wytron.com.tw> | Fri Oct 23 07:28:50 2015 +0800 |
tree | 410542938e41d29107ed5869915565a1f01f2a25 | |
parent | 60a3b1b72865a7637d119c3024af3785723b619a [diff] |
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>