diff mbox

[U-Boot] wandboard: Remove unnecessary delay

Message ID 1496319272-27981-1-git-send-email-fabio.estevam@nxp.com
State Accepted
Commit b8b9790e23a7d6eec08d66192853ecb61bcae095
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam June 1, 2017, 12:14 p.m. UTC
There is no need to add a 100us delay after the DDR initialization.

Other imx6 boards do not have such delay either, so simply remove it.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 board/wandboard/spl.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Stefano Babic June 29, 2017, 8:22 a.m. UTC | #1
On 01/06/2017 14:14, Fabio Estevam wrote:
> There is no need to add a 100us delay after the DDR initialization.
> 
> Other imx6 boards do not have such delay either, so simply remove it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  board/wandboard/spl.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/board/wandboard/spl.c b/board/wandboard/spl.c
> index a21a3d0..24c1767 100644
> --- a/board/wandboard/spl.c
> +++ b/board/wandboard/spl.c
> @@ -289,8 +289,6 @@ static void spl_dram_init(void)
>  		mx6dq_dram_iocfg(64, &mx6dq_ddr_ioregs, &mx6dq_grp_ioregs);
>  		mx6_dram_cfg(&mem_q, &mx6q_2g_mmdc_calib, &h5t04g63afr);
>  	}
> -
> -	udelay(100);
>  }
>  
>  void board_init_f(ulong dummy)
> 

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

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/board/wandboard/spl.c b/board/wandboard/spl.c
index a21a3d0..24c1767 100644
--- a/board/wandboard/spl.c
+++ b/board/wandboard/spl.c
@@ -289,8 +289,6 @@  static void spl_dram_init(void)
 		mx6dq_dram_iocfg(64, &mx6dq_ddr_ioregs, &mx6dq_grp_ioregs);
 		mx6_dram_cfg(&mem_q, &mx6q_2g_mmdc_calib, &h5t04g63afr);
 	}
-
-	udelay(100);
 }
 
 void board_init_f(ulong dummy)