[U-Boot] [PATCH 1/2] nios2: call board_init_f_mem

Thomas Chou thomas at wytron.com.tw
Tue Sep 15 10:56:46 CEST 2015



On 09/09/2015 04:03 PM, Thomas Chou wrote:
> 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 at wytron.com.tw>
> ---
>   arch/nios2/cpu/start.S          | 10 ++++++++++
>   arch/nios2/include/asm/config.h |  2 --
>   2 files changed, 10 insertions(+), 2 deletions(-)

Applied to u-boot-nios.


More information about the U-Boot mailing list