From ac13ca97df9f8c17d1c89d425041690484ee0fdf Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Sat, 5 Oct 2013 12:08:55 +0200 Subject: colibri_vf50: fix boot hang issue Fix long standing boot hang issue introduced by Freescale's Vybrid 1.1 silicon. https://community.freescale.com/message/336513#336513 Correct Answer by Ioseph Martinez Pelayo on Jul 17, 2013 5:33 PM For the record: DDRMC_CR154 needs to be 0x682C0000 before was: 0x68200000 There was a change from Si 1.0 to 1.1. So this only affects Si 1.1 and this version requires writing this value to the register. --- board/toradex/colibri_vf50/colibri_vf50.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/toradex/colibri_vf50/colibri_vf50.c b/board/toradex/colibri_vf50/colibri_vf50.c index 599d4091a6..654cc05988 100644 --- a/board/toradex/colibri_vf50/colibri_vf50.c +++ b/board/toradex/colibri_vf50/colibri_vf50.c @@ -338,7 +338,8 @@ unsigned long ddr_ctrl_init(void) __raw_writel(0x00000000, DDR_CR136); - __raw_writel(0x68200000, DDR_CR154); + __raw_writel(0x682C0000, DDR_CR154); /* Bit 19–18 DDR_SEL_PAD_Contr + DDR_SEL = 11 (DDR3 mode) */ __raw_writel(0x00000202, DDR_CR155); /* pad_ibe, _sel */ __raw_writel(0x00000006, DDR_CR158); /* twr */ __raw_writel(0x00000006, DDR_CR159); /* todth */ -- cgit v1.2.3