diff options
author | Robby Cai <r63905@freescale.com> | 2015-04-07 11:36:08 +0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-09 14:42:23 +0100 |
commit | 7471e9e2f97798ebad900f9a3abd8aaf62af40c3 (patch) | |
tree | fc10348c7b9e46878a3d2d93f49ce7b3cdbabe54 /arch/arm/cpu | |
parent | ff6fe0d5790534d51361121cf66905fedf1503f5 (diff) |
MLK-10569 imx7d: call set_epdc_qos unconditionally
This EPDC/EPXP QoS setting is needed for EPDC stress test to pass.
This patch remove the #ifdef to make sure set_epdc_qos be called always.
Signed-off-by: Robby Cai <r63905@freescale.com>
(cherry picked from commit d2fb113740b2c67958862503dda2a40191ab0899)
(cherry picked from commit 581aa86581bb1178c5df4ad5298e5b85c53f1186)
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/mx7/soc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7/soc.c index 79a9909bbb2..d88e9864140 100644 --- a/arch/arm/cpu/armv7/mx7/soc.c +++ b/arch/arm/cpu/armv7/mx7/soc.c @@ -121,7 +121,6 @@ static void imx_set_wdog_powerdown(bool enable) writew(enable, &wdog4->wmcr); } -#if defined(CONFIG_MXC_EPDC) static void set_epdc_qos(void) { #define REGS_QOS_BASE QOSC_IPS_BASE_ADDR @@ -150,7 +149,6 @@ static void set_epdc_qos(void) writel(0xe080, IOMUXC_GPR_BASE_ADDR + 0x0034); /* EPDC AW/AR CACHE ENABLE */ } -#endif int arch_cpu_init(void) { @@ -166,9 +164,8 @@ int arch_cpu_init(void) mxs_dma_init(); #endif -#if defined(CONFIG_MXC_EPDC) set_epdc_qos(); -#endif + return 0; } |