[U-Boot] [PATCH] i.MX6: nitrogen6x: update memory configuration files to use macros

Stefano Babic sbabic at denx.de
Mon Nov 18 10:32:17 CET 2013


Hi Eric,

On 14/11/2013 22:28, Eric Nelson wrote:
>> I dont mind either way, but just an idea for discussion:
>>
>> What do you say to implementing the DRAM controller programming in
>> SPL? That
>> way, we can even do proper DRAM calibration on boot and other such
>> nice things.
>> And we'd also get rid of these static magic numbers all around.
>>
> 
> We can (and hopefully will very soon) implement some of the
> configuration in C under SPL, but we can't (and shouldn't) get
> rid of all of the magic numbers.
> 
> Some of these numbers come from testing large numbers of devices
> under a variety of temperature conditions. The best that the
> automagic calibration facilities can do is set things up based
> on nominal current conditions.
> 
> That said, I'm sure we can cut down on the total number.
> 
> My immediate goal is simply to set the stage for SPL and
> a single binary.

I agree on this roadmap. Of course, it will be very nice to allow
runtime DDR calibration, but we can do this in a second step.

Best 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