u-boot/lib_nios
Stefan Roese c790b04d23 lib_arch/board.c: Move malloc initialization before flash_init()
This patch moves the malloc initialization before calling flash_init().
Upcoming changes to the NOR FLASH common CFI driver with optional
MTD infrastructure and MTD concatenation support will call malloc().
And nothing really speaks against enabling malloc just a little earlier
in the boot stage. Some architectures already enable malloc before
calling flash_init() so they don't need any changes here.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Scott McNutt <smcnutt@psyent.com>
Cc: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: John Rigby <jcrigby@gmail.com>
2009-06-12 20:39:47 +02:00
..
board.c lib_arch/board.c: Move malloc initialization before flash_init() 2009-06-12 20:39:47 +02:00
bootm.c bootm: refactor do_reset and os boot function args 2008-08-26 23:48:01 +02:00
cache.c * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
divmod.c * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
Makefile Big white-space cleanup. 2008-05-21 00:14:08 +02:00
math.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mult.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
time.c * Patch by Peter Ryser, 20 Feb 2004: 2004-02-23 23:54:43 +00:00