RK3026 DDchange DDR DTT Check mode
authortyp <typ@rock-chips.com>
Mon, 16 Sep 2013 08:18:51 +0000 (16:18 +0800)
committertyp <typ@rock-chips.com>
Mon, 16 Sep 2013 08:18:51 +0000 (16:18 +0800)
arch/arm/mach-rk2928/ddr.c

index 25418c10cb067c02214602872471bd346665d52f..929e051e301b67791f2725f0154e81e5cc855c17 100755 (executable)
@@ -2282,9 +2282,9 @@ uint32_t __sramfunc ddr_change_freq_sram(uint32_t nMHz, struct ddr_freq_t ddr_fr
     deidle_port();
 #endif
 
-    ddr_dtt_check();
     /** 5. Issues a Mode Exit command   */
     DDR_RESTORE_SP(save_sp);
+    ddr_dtt_check();
     local_fiq_enable();
     local_irq_restore(flags);
 //    clk_set_rate(clk_get(NULL, "ddr_pll"), 0);