From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Tue, 15 Sep 2015 16:56:46 +0800 Subject: [U-Boot] [PATCH 1/2] nios2: call board_init_f_mem In-Reply-To: <1441785805-15203-1-git-send-email-thomas@wytron.com.tw> References: <1441785805-15203-1-git-send-email-thomas@wytron.com.tw> Message-ID: <55F7DD4E.5080105@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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.