[U-Boot] [PATCH] warp: Fix RAM size runtime detection

Stefano Babic sbabic at denx.de
Fri Aug 26 15:16:24 CEST 2016


On 26/08/2016 14:46, Fabio Estevam wrote:
> Hi Stefano,
> 
> On Mon, Aug 15, 2016 at 10:07 AM, Fabio Estevam <festevam at gmail.com> wrote:
>> From: Fabio Estevam <fabio.estevam at nxp.com>
>>
>> Since commit a13d3757f7df ("warp: Use imx_ddr_size() for calculating the
>> DDR size") warp board no longer boots.
>>
>> The reason for the breakage is that the warp board is using the DDR
>> configuration from mx6slevk. A fundamental difference between warp and
>> mx6slevk is that warp only uses one DDR chip select while mx6slevk uses two.
>>
>> The imx_ddr() function calculates the RAM size in runtime by reading the
>> values of registers MDCTL and MDMISC.
>>
>> So in order to fix this warp boot issue, create a imximage DDR file specific
>> to warp, where the MDCTL register is configured to only activates a single
>> chip select.
>>
>> Reported-by: Breno Lima <breno.lima at nxp.com>
>> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
>> Tested-by: Breno Lima <breno.lima at nxp.com>
> 
> Could this one go to 2016.09 if you are happy with it?
> 

Yes, of course. I am starting to check all pending patches and apply them.

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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