uboot-mt623x/lib_sh
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
..
Makefile sh: Update sh timer function 2008-12-10 23:11:35 +09:00
board.c lib_arch/board.c: Move malloc initialization before flash_init() 2009-06-12 20:39:47 +02:00
bootm.c bootm: Add subcommands 2008-10-29 00:59:50 +01:00
time.c sh: update sh timer coding style 2009-01-16 10:22:26 +09:00
time_sh2.c sh: update sh2/sh2a timer coding style 2009-01-16 10:22:26 +09:00