Re: [U-Boot] [PATCH v4 3/4] kirkwood: implement kw_sdram_size_adjust

2012-09-07 Thread Prafulla Wadaskar
-Original Message- From: Gerlando Falauto [mailto:gerlando.fala...@keymile.com] Sent: 25 July 2012 09:24 To: u-boot@lists.denx.de Cc: Gerlando Falauto; Holger Brunck; Prafulla Wadaskar; Valentin Longchamp Subject: [PATCH v4 3/4] kirkwood: implement kw_sdram_size_adjust Size of

[U-Boot] [PATCH v4 3/4] kirkwood: implement kw_sdram_size_adjust

2012-07-25 Thread Gerlando Falauto
Size of the SDRAM chips might differ between any two (otherwise identical) instances of the same board. So add a function kw_sdram_size_adjust() which reads out the current ram size for a given bank, and adjusts the Kirkwood's SDRAM window size register accordingly. Signed-off-by: Gerlando