[U-Boot] [PATCH] lib_arch/board.c: Move malloc initialization before flash_init()
Wolfgang Denk
wd at denx.de
Fri May 15 21:50:06 CEST 2009
Dear Stefan Roese,
In message <1242049812-6038-1-git-send-email-sr at denx.de> you 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.
Done, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is better to marry than to burn.
- Bible ``I Corinthians'' ch. 7, v. 9
More information about the U-Boot
mailing list