[PATCH 2/2] ARM: i.MX: ccxmx51: detect SDRAM size by board id

Sascha Hauer s.hauer at pengutronix.de
Wed May 8 02:25:28 EDT 2013


On Tue, May 07, 2013 at 03:45:04PM +0400, Alexander Shiyan wrote:
> > This partly reverts:
> > 
> > commit 697e02b74fddd80527e8ababba10239c83dba029
> > Author: Alexander Shiyan <shc_work at mail.ru>
> > Date:   Tue Jan 22 15:08:31 2013 +0400
> > 
> >     ARM: ccmx51: Remove SDRAM size settings
> > 
> >     This patch removes SDRAM memory size setting from board due
> >     to auto detect last one by ESDCTL.
> > 
> >     Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> >     Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > 
> > The board originally configured the SDRAM controller for the
> > maximum size and detected the usable SDRAM size by reading the
> > board id. This became broken after switching to automatic SDRAM
> > size detection by reading back ESDCTL values.
> > 
> > This patch brings back the old behaviour.
> 
> Please, apply both to git.

Did that.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list