Revert "rk3188: -t: fix ddr volt too low"
authorchenxing <chenxing@rock-chips.com>
Fri, 19 Jul 2013 09:24:35 +0000 (17:24 +0800)
committerchenxing <chenxing@rock-chips.com>
Fri, 19 Jul 2013 09:31:53 +0000 (17:31 +0800)
This reverts commit dd633aeaf03ff5da8dce9d5182947f6c7bd92d3d.

arch/arm/mach-rk30/board-rk3168-tb.c

index 2eff6bb1a1cfb9c3f9a64291aee4a2e88a0e5a0b..824b46b67d635913b4c6e06d9e3deb20de8c6663 100755 (executable)
@@ -52,7 +52,6 @@
 #ifdef CONFIG_MFD_RT5025
 #include <linux/mfd/rt5025.h>
 #endif
-#include <plat/efuse.h>
 
 #ifdef CONFIG_CW2015_BATTERY
 #include <linux/power/cw2015_battery.h>
@@ -2665,12 +2664,6 @@ static struct cpufreq_frequency_table dvfs_ddr_table_volt_level0[] = {
        {.frequency = CPUFREQ_TABLE_END},
 };
 
-static struct cpufreq_frequency_table dvfs_ddr_table_t[] = {
-       {.frequency = 200 * 1000 + DDR_FREQ_SUSPEND,    .index = 950 * 1000},
-       {.frequency = 460 * 1000 + DDR_FREQ_NORMAL,     .index = 1150 * 1000},
-       {.frequency = CPUFREQ_TABLE_END},
-};
-
 //if you board is good for volt quality,select dvfs_arm_table_volt_level0
 #define dvfs_arm_table dvfs_arm_table_volt_level1
 #define dvfs_gpu_table dvfs_gpu_table_volt_level1
@@ -2738,11 +2731,7 @@ void __init board_clock_init(void)
        //dvfs_set_arm_logic_volt(dvfs_cpu_logic_table, cpu_dvfs_table, dep_cpu2core_table);    
        dvfs_set_freq_volt_table(clk_get(NULL, "cpu"), dvfs_arm_table);
        dvfs_set_freq_volt_table(clk_get(NULL, "gpu"), dvfs_gpu_table);
-       if (rk_pll_flag() == 0)
-               dvfs_set_freq_volt_table(clk_get(NULL, "ddr"), dvfs_ddr_table);
-       else
-               dvfs_set_freq_volt_table(clk_get(NULL, "ddr"), dvfs_ddr_table_t);
-
+       dvfs_set_freq_volt_table(clk_get(NULL, "ddr"), dvfs_ddr_table);
 }
 
 MACHINE_START(RK30, "RK30board")