[U-Boot] [PATCH 3/3] mx35: Clean up lowlevel_init

Stefano Babic sbabic at denx.de
Tue Aug 21 08:05:00 CEST 2012


On 20/08/2012 22:25, Fabio Estevam wrote:
> Hi Stefano,
> 
> On Mon, Aug 20, 2012 at 4:42 PM, stefano babic <sbabic at denx.de> 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
=====================================================================


More information about the U-Boot mailing list