diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-30 11:06:29 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-06-30 11:27:47 +0800 |
commit | 987c48c07c9ef62fa3fe55faa6f7369b30637127 (patch) | |
tree | 05b2488522467dc0f7a4e827e4cb8f0ff4fa2c2c /arch/arm/cpu/armv7/mx6 | |
parent | bb533f0ce2e00e683a44ac9027cdba3eb12e9b45 (diff) | |
download | u-boot-imx-987c48c07c9ef62fa3fe55faa6f7369b30637127.zip u-boot-imx-987c48c07c9ef62fa3fe55faa6f7369b30637127.tar.gz u-boot-imx-987c48c07c9ef62fa3fe55faa6f7369b30637127.tar.bz2 |
ENGR00320350 iMX6SLEVK: Fix build warning of PCIE Phy power down
Since the iMX6SL does not have PCIE module, should not define the
function "imx_set_pcie_phy_power_down" for it. Otherwise, get the
build warning below:
arch/arm/cpu/armv7/mx6/soc.c:446:13: warning: 'imx_set_pcie_phy_power_down'
defined but not used [-Wunused-function]
static void imx_set_pcie_phy_power_down(void)
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'arch/arm/cpu/armv7/mx6')
-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 e8dc42d..4662893 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -443,6 +443,7 @@ static void imx_set_vddpu_power_down(void) writel(val, &anatop->reg_core_clr); } +#ifndef CONFIG_MX6SL static void imx_set_pcie_phy_power_down(void) { u32 val; @@ -457,6 +458,7 @@ static void imx_set_pcie_phy_power_down(void) writel(val, IOMUXC_GPR_BASE_ADDR + 0x30); #endif } +#endif int arch_cpu_init(void) { |