From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 15 May 2009 21:50:06 +0200 Subject: [U-Boot] [PATCH] lib_arch/board.c: Move malloc initialization before flash_init() In-Reply-To: <1242049812-6038-1-git-send-email-sr@denx.de> References: <1242049812-6038-1-git-send-email-sr@denx.de> Message-ID: <20090515195006.9DE7D832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan Roese, In message <1242049812-6038-1-git-send-email-sr@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 > Cc: Wolfgang Denk > Cc: Mike Frysinger > Cc: Scott McNutt > Cc: Shinya Kuribayashi > Cc: Nobuhiro Iwamatsu > Cc: Daniel Hellstrom > Cc: Jean-Christophe PLAGNIOL-VILLARD > Cc: John Rigby > --- > 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