From: Stefan Agner Date: Tue, 4 Dec 2018 10:10:21 +0000 (+0100) Subject: ARM: vf610: ddrmc: do not write CR79 by default X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=81653478ebcce72de0daac725f5756872133cfbc;p=u-boot.git ARM: vf610: ddrmc: do not write CR79 by default The current value CTLUPD_AREF(0) is the reset value of the register, so there is no need to write a value. If needed, the register can be written using board specific CR settings. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler Reviewed-by: Lukasz Majewski --- diff --git a/arch/arm/mach-imx/ddrmc-vf610.c b/arch/arm/mach-imx/ddrmc-vf610.c index 9739738a08..fa948f7812 100644 --- a/arch/arm/mach-imx/ddrmc-vf610.c +++ b/arch/arm/mach-imx/ddrmc-vf610.c @@ -190,7 +190,6 @@ void ddrmc_ctrl_init_ddr3(struct ddr3_jedec_timings const *timings, DDRMC_CR77_SWAP_EN, &ddrmr->cr[77]); writel(DDRMC_CR78_Q_FULLNESS(timings->q_fullness) | DDRMC_CR78_BUR_ON_FLY_BIT(12), &ddrmr->cr[78]); - writel(DDRMC_CR79_CTLUPD_AREF(0), &ddrmr->cr[79]); writel(DDRMC_CR82_INT_MASK, &ddrmr->cr[82]);