Skip to contentSkip to conversation

colibri_vf: Fix bstlen field

PATCH New Fabio Estevam 2 participants 2 messages Oct 14, 2015 – Oct 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 colibri_vf: Fix bstlen field

From: Fabio Estevam <[email protected]>

Commit 3f353cecc ("vf610: refactor DDRMC code") changed the original bstlen field from 3 to 0.

Restore the original value for proper behaviour.

Based on the patch from Anthony Felice <[email protected]> for the vf610twr board.

---
 board/toradex/colibri_vf/colibri_vf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/toradex/colibri_vf/colibri_vf.c +1 -1
index 39bf0ac..a6d1c5b 100644
@@ -119,7 +119,7 @@ int dram_init(void)
 		.trcd_int          = 6,
 		.tras_lockout      = 0,
 		.tdal              = 12,
-		.bstlen            = 0,
+		.bstlen            = 3,
 		.tdll              = 512,
 		.trp_ab            = 6,
 		.tref              = 3120,
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 colibri_vf: Fix bstlen field

Quoted 22 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Commit 3f353cecc ("vf610: refactor DDRMC code") changed the original bstlen field from 3 to 0.

Restore the original value for proper behaviour.

Based on the patch from Anthony Felice <[email protected]> for the vf610twr board.

---
 board/toradex/colibri_vf/colibri_vf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/toradex/colibri_vf/colibri_vf.c +0 -0
index 39bf0ac..a6d1c5b 100644

board/toradex/colibri_vf/colibri_vf.c int dram_init(void) · line 125

Quoted 8 lines
board/toradex/colibri_vf/colibri_vf.c +1 -1
@@ -119,7 +119,7 @@ int dram_init(void)
 		.trcd_int          = 6,
 		.tras_lockout      = 0,
 		.tdal              = 12,
-		.bstlen            = 0,
+		.bstlen            = 3,
 		.tdll              = 512,
 		.trp_ab            = 6,
 		.tref              = 3120,

As result from previous thread "vf610twr: Fix typo in DRAM init"

Applied as fix to u-boot-imx, 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
=====================================================================