diff options
author | Robby Cai <r63905@freescale.com> | 2015-04-07 11:36:08 +0800 |
---|---|---|
committer | Robby Cai <r63905@freescale.com> | 2015-04-07 11:38:50 +0800 |
commit | d2fb113740b2c67958862503dda2a40191ab0899 (patch) | |
tree | a53f3e0566d9af1542eeac058538a0c862fc39a7 | |
parent | e4fd6550b3e5458aaf5049a7e6a12d6e4443c53a (diff) | |
download | u-boot-imx-d2fb113740b2c67958862503dda2a40191ab0899.zip u-boot-imx-d2fb113740b2c67958862503dda2a40191ab0899.tar.gz u-boot-imx-d2fb113740b2c67958862503dda2a40191ab0899.tar.bz2 |
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>
-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 895d6e9..22f85b9 100644 --- a/arch/arm/cpu/armv7/mx7/soc.c +++ b/arch/arm/cpu/armv7/mx7/soc.c @@ -218,7 +218,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 @@ -247,7 +246,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) { @@ -263,9 +261,8 @@ int arch_cpu_init(void) mxs_dma_init(); #endif -#if defined(CONFIG_MXC_EPDC) set_epdc_qos(); -#endif + return 0; } |