]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Redundant code cleanup from a83t dram init
authorVishnu Patekar <vishnupatekar0510@gmail.com>
Mon, 11 Jan 2016 17:20:57 +0000 (01:20 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 26 Jan 2016 15:20:05 +0000 (16:20 +0100)
This removes the redundant lines of code from mctl_sys_init.

Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c

index d757e403dc072ad4a70c48bc1ea5c27c0ac78109..75e97465677e7a4b261437d76fc58f6b1444fe95 100644 (file)
@@ -366,11 +366,6 @@ static void mctl_sys_init(struct dram_para *para)
                        CCM_DRAMCLK_CFG_RST | CCM_DRAMCLK_CFG_UPD);
        mctl_await_completion(&ccm->dram_clk_cfg, CCM_DRAMCLK_CFG_UPD, 0);
 
-       setbits_le32(&ccm->ahb_reset0_cfg, 1 << 14);
-       setbits_le32(&ccm->ahb_gate0, 1 << AHB_GATE_OFFSET_MCTL);
-       setbits_le32(&ccm->mbus_reset, CCM_MBUS_RESET_RESET);
-       setbits_le32(&ccm->mbus_clk_cfg, MBUS_CLK_GATE);
-
        setbits_le32(&ccm->ahb_reset0_cfg, 1 << AHB_RESET_OFFSET_MCTL);
        setbits_le32(&ccm->ahb_gate0, 1 << AHB_GATE_OFFSET_MCTL);
        setbits_le32(&ccm->mbus_reset, CCM_MBUS_RESET_RESET);