diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-03-14 17:57:06 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-04-29 14:54:09 +0800 |
commit | 86d7d18b6fff71f4758c192127e22701560e82c3 (patch) | |
tree | 8eeef816b17c47d6b1b7e391471022298eb1476f | |
parent | 8289ddadf1e3ed3eca2b5d2510a9fa7007cd530c (diff) | |
download | u-boot-imx-86d7d18b6fff71f4758c192127e22701560e82c3.zip u-boot-imx-86d7d18b6fff71f4758c192127e22701560e82c3.tar.gz u-boot-imx-86d7d18b6fff71f4758c192127e22701560e82c3.tar.bz2 |
MLK-10774-10 imx:mx6sx add mx6sx support for pcie power down
Add mx6sx support for pcie power down
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index df374f4..9499b1a 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -391,9 +391,15 @@ static void imx_set_pcie_phy_power_down(void) { u32 val; +#ifndef CONFIG_MX6SX val = readl(IOMUXC_BASE_ADDR + 0x4); val |= 0x1 << 18; writel(val, IOMUXC_BASE_ADDR + 0x4); +#else + val = readl(IOMUXC_GPR_BASE_ADDR + 0x30); + val |= 0x1 << 30; + writel(val, IOMUXC_GPR_BASE_ADDR + 0x30); +#endif } #endif |