[U-Boot] [PATCH] lib_arch/board.c: Move malloc initialization before flash_init()
Kim Phillips
kim.phillips at freescale.com
Tue May 12 22:09:11 CEST 2009
On Mon, 11 May 2009 15:50:12 +0200
Stefan Roese <sr at denx.de> wrote:
> 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 at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Mike Frysinger <vapier at gentoo.org>
> Cc: Scott McNutt <smcnutt at psyent.com>
> Cc: Shinya Kuribayashi <shinya.kuribayashi at necel.com>
> Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> Cc: Daniel Hellstrom <daniel at gaisler.com>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Cc: John Rigby <jcrigby at gmail.com>
> ---
> If nobody from the platforms custodians objects against this patch
> then I suggest that Wolfgang pulls it directly into next.
fyi, you've only cc:d Scott McNutt and John Rigby on this mail, yet you
indicate otherwise...
Kim
More information about the U-Boot
mailing list