colibri_vf: adjust timing according to data sheet
authorStefan Agner <stefan.agner@toradex.com>
Mon, 25 Mar 2019 16:25:10 +0000 (17:25 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:09 +0000 (20:30 +0200)
Using the DDR Validation tool in Processor Expert uncovered two
timing inconsistencies. Since those timings are related to the
suspend mode they do not affect or change regular memory behaviour.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
board/toradex/colibri_vf/colibri_vf.c

index 9c5bf4951b4bcbee173bfe962fad8ced1ffb8516..3e39912f91be972cd2d397cbc82b86491898b055 100644 (file)
@@ -101,15 +101,21 @@ int dram_init(void)
                .tras_lockout      = 0,
                .tdal              = 12,
                .bstlen            = 3,
-               .tdll              = 512,
+               .tdll              = 512, /* not applicable since freq. scaling
+                                          * is not used
+                                          */
                .trp_ab            = 6,
                .tref              = 3120,
                .trfc              = 64,
                .tref_int          = 0,
                .tpdex             = 3,
                .txpdll            = 10,
-               .txsnr             = 48,
-               .txsr              = 468,
+               .txsnr             = 68,  /* changed to conform to JEDEC
+                                          * specifications
+                                          */
+               .txsr              = 506, /* changed to conform to JEDEC
+                                          * specifications
+                                          */
                .cksrx             = 5,
                .cksre             = 5,
                .freq_chg_en       = 0,