diff options
author | Ye.Li <B37916@freescale.com> | 2014-04-14 13:36:41 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-04-14 16:39:25 +0800 |
commit | 43d71693e88fc221219b5710eb89a15971f5627b (patch) | |
tree | 28216854795d7605319b08f627edfe1649656024 | |
parent | 680d588937c0fa9c77f588928535cd10826d5f96 (diff) | |
download | u-boot-imx-43d71693e88fc221219b5710eb89a15971f5627b.zip u-boot-imx-43d71693e88fc221219b5710eb89a15971f5627b.tar.gz u-boot-imx-43d71693e88fc221219b5710eb89a15971f5627b.tar.bz2 |
ENGR00308230 iMX6SX: Remove an build warning
Got the warning below, which is caused by having "imx_reset_pfd"
call removed for iMX6SX.
warning: 'imx_reset_pfd' defined but not used [-Wunused-function]
static void imx_reset_pfd(void)
Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 90f469c..9569038 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -332,6 +332,7 @@ void check_cpu_temperature(void) printf("CPU: Temperature: can't get valid data!\n"); } +#ifndef CONFIG_MX6SX static void imx_reset_pfd(void) { struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR; @@ -367,6 +368,7 @@ static void imx_reset_pfd(void) BM_ANADIG_PFD_528_PFD0_CLKGATE, &anatop->pfd_528_clr); #endif } +#endif static void imx_set_vddpu_power_down(void) { |