diff options
Diffstat (limited to 'arch/nds32/lib/board.c')
| -rw-r--r-- | arch/nds32/lib/board.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c index 09feaf373..a7d27fc7f 100644 --- a/arch/nds32/lib/board.c +++ b/arch/nds32/lib/board.c @@ -192,7 +192,7 @@ void board_init_f(ulong bootflag)  	memset((void *)gd, 0, GENERATED_GBL_DATA_SIZE); -	gd->mon_len = (unsigned int)(&__bss_end__) - (unsigned int)(&_start); +	gd->mon_len = (unsigned int)(&__bss_end) - (unsigned int)(&_start);  	for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) {  		if ((*init_fnc_ptr)() != 0) @@ -320,7 +320,6 @@ void board_init_r(gd_t *id, ulong dest_addr)  	/* The Malloc area is immediately below the monitor copy in DRAM */  	malloc_start = dest_addr - TOTAL_MALLOC_LEN;  	mem_malloc_init(malloc_start, TOTAL_MALLOC_LEN); -	malloc_bin_reloc();  #ifndef CONFIG_SYS_NO_FLASH  	/* configure available FLASH banks */  |