]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
opos6ul: set REFSEL and REFR fields
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Tue, 14 May 2019 11:33:46 +0000 (13:33 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
arch/arm/mach-imx/mx6/opos6ul.c

index 94a3d71201723b7cab7561efc9a0b2c47c18effb..264fa8a48e35c1e83b63f2848e0e82ff193193bf 100644 (file)
@@ -192,6 +192,8 @@ struct mx6_ddr_sysinfo ddr_sysinfo = {
        .sde_to_rst = 0x10,     /* 14 cycles, 200us (JEDEC default) */
        .rst_to_cke = 0x23,     /* 33 cycles, 500us (JEDEC default) */
        .ddr_type = DDR_TYPE_DDR3,
+       .refsel = 1,            /* Refresh cycles at 32KHz */
+       .refr = 7,              /* 8 refreshes commands per refresh cycle */
 };
 
 static struct mx6_ddr3_cfg mem_ddr = {