ARM: vf610: ddrmc: do not write CR79 by default
authorStefan Agner <stefan.agner@toradex.com>
Tue, 4 Dec 2018 10:10:21 +0000 (11:10 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jan 2019 15:27:39 +0000 (16:27 +0100)
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 <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
arch/arm/mach-imx/ddrmc-vf610.c

index 9739738a08b8ccf889a1e975d2205c3d7d5b6da0..fa948f78120c58fcb2a2f468990c4600d76520c8 100644 (file)
@@ -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]);