diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/bus_freq.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mx5/devices.c | 4 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx5x.h | 3 |
3 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-mx5/bus_freq.c b/arch/arm/mach-mx5/bus_freq.c index ce265fcff89e..1463ef4df254 100644 --- a/arch/arm/mach-mx5/bus_freq.c +++ b/arch/arm/mach-mx5/bus_freq.c @@ -155,7 +155,6 @@ int set_high_bus_freq(int high_bus_freq) if (bus_freq_scaling_initialized) { stop_sdram_autogating(); - stop_dvfs_per(); if (low_bus_freq_mode) { /* Relock PLL3 to 133MHz */ @@ -193,6 +192,7 @@ int set_high_bus_freq(int high_bus_freq) /*Change the DDR freq to 200MHz*/ clk_set_rate(ddr_hf_clk, clk_round_rate(ddr_hf_clk, DDR_NORMAL_CLK)); + start_dvfs_per(); } if (bus_freq_scaling_is_active) { /* @@ -224,7 +224,6 @@ int set_high_bus_freq(int high_bus_freq) } } start_sdram_autogating(); - start_dvfs_per(); } return 0; } diff --git a/arch/arm/mach-mx5/devices.c b/arch/arm/mach-mx5/devices.c index 567d5c8e2c6f..35e65bc0946e 100644 --- a/arch/arm/mach-mx5/devices.c +++ b/arch/arm/mach-mx5/devices.c @@ -499,8 +499,8 @@ struct platform_device mxc_tve_device = { static struct resource dvfs_core_resources[] = { { - .start = MXC_DVFS_CORE_BASE, - .end = MXC_DVFS_CORE_BASE + 4 * SZ_16 - 1, + .start = DVFSCORE_BASE_ADDR, + .end = DVFSCORE_BASE_ADDR + 4 * SZ_16 - 1, .flags = IORESOURCE_MEM, }, { diff --git a/arch/arm/plat-mxc/include/mach/mx5x.h b/arch/arm/plat-mxc/include/mach/mx5x.h index 3316b086a795..3770197b98bd 100644 --- a/arch/arm/plat-mxc/include/mach/mx5x.h +++ b/arch/arm/plat-mxc/include/mach/mx5x.h @@ -209,7 +209,8 @@ #define I2C3_BASE_ADDR (AIPS1_BASE_ADDR + 0x000EC000) #define UART4_BASE_ADDR (AIPS1_BASE_ADDR + 0x000F0000) -#define DVFSPER_BASE_ADDR (GPC_BASE_ADDR + 0x1C4) +#define DVFSCORE_BASE_ADDR (GPC_BASE_ADDR + 0x180) +#define DVFSPER_BASE_ADDR (GPC_BASE_ADDR + 0x1C4) /*! * Defines for modules using static and dynamic DMA channels */ |