[U-Boot] [U-Boot, 1/2] am33xx, ddr3: fix ddr3 sdram configuration

Tom Rini trini at konsulko.com
Mon Dec 14 21:19:54 CET 2015


On Wed, Dec 02, 2015 at 03:27:56PM +0100, Egli, Samuel wrote:

> This patch fixes the DDR3 initialization procedure in
> order to comply with DDR3 standard. A 500 us delay is specified
> between the DDR3 reset and clock enable signal. Until now,
> this delay was not respected. Some DDR3 chips don't bother
> but the bigger the RAM becomes the more likely it seems that
> this delay is needed. We observed that DRAM > 256 MB from
> the manufacturer Samsung have an issue when the specification
> is not respected.
> 
> Changes:
> 
> 1) Add a 1 ms wait for L3 timeout error trigger
> 
> 2) Don't delay DDR3 initialization
> Bit 31 of emif_sdram_ref_ctrl shouldn't be set because his
> suppresses the initialization of DDR3
> 
> Signed-off-by: Samuel Egli <samuel.egli at siemens.com>
> Reviewed-by: James Doublesin <doublesin at ti.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Felipe Balbi <balbi at ti.com>
> Cc: Roger Meier <r.meier at siemens.com>
> Cc: Heiko Schocher <hs at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151214/65304c74/attachment.sig>


More information about the U-Boot mailing list