diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 8f33508..496148d 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -381,8 +381,11 @@ static void imx_set_pcie_phy_power_down(void) int arch_cpu_init(void) { -#ifndef CONFIG_MX6SX - /* this bit is not used by imx6sx anymore */ +#if !defined(CONFIG_MX6SX) && !defined(CONFIG_MX6SL) + /* + * imx6sl doesn't have pcie at all. + * this bit is not used by imx6sx anymore + */ u32 val; /* @@ -426,7 +429,9 @@ int arch_cpu_init(void) imx_set_wdog_powerdown(false); /* Disable PDE bit of WMCR register */ +#ifndef CONFIG_MX6SL imx_set_pcie_phy_power_down(); +#endif imx_set_vddpu_power_down(); #ifdef CONFIG_APBH_DMA |