Skip to contentSkip to conversation

opos6ul: set REFSEL and REFR fields

PATCH New Sébastien Szymanski 3 participants 3 messages May 14, 2019 – Jun 10, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opos6ul: set REFSEL and REFR fields

---
 arch/arm/mach-imx/mx6/opos6ul.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-imx/mx6/opos6ul.c +2 -0
index a578fd67db..55ebe3a624 100644
@@ -197,6 +197,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 = {
Signature · 1 line
2.19.2
#2 lore raw

PATCH 1/1 opos6ul: set REFSEL and REFR fields

In reply to Sébastien Szymanski
Quoted 1 line

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================