From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 21 Aug 2012 08:05:00 +0200 Subject: [U-Boot] [PATCH 3/3] mx35: Clean up lowlevel_init In-Reply-To: References: <2074876167.2582602.1345464560555.JavaMail.root@advansee.com> <50329323.3070302@denx.de> Message-ID: <5033250C.1050400@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 On 20/08/2012 22:25, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Aug 20, 2012 at 4:42 PM, stefano babic wrote: > >> With the flea3 I have made some clean-up, making the lowLevel_init.S >> essential. Same changes were not reported back to the mx35pdk. I am >> going also to put in a common place the functions to setup the DDR >> controller ( board_setup_sdram_bank() in the flea3 directory). This >> should allow to factorize some other code, reducing the lowlevel_init.S. > > Maybe even better would be to convert the init from lowlevel_init.S > into C code, like was done on mx31. > > It is much easier to debug/maintain C code then assemby. Yes, agree. Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================