summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhu <r65037@freescale.com>2014-06-25 14:20:16 +0800
committerRichard Zhu <r65037@freescale.com>2014-06-25 14:41:57 +0800
commit8b8630ada916304bbc5612acf76d81d981c0365b (patch)
treea11d4d0a96c24d5843d43332e4ad074dbbb75ed0
parent32b9e7e1b3b0b0505d5811dd7a558c80dab9bbc2 (diff)
downloadu-boot-imx-8b8630ada916304bbc5612acf76d81d981c0365b.zip
u-boot-imx-8b8630ada916304bbc5612acf76d81d981c0365b.tar.gz
u-boot-imx-8b8630ada916304bbc5612acf76d81d981c0365b.tar.bz2
ENGR00319965 pcie: mask the imx6sl out
imx6sl doesn't have the pcie module, mask the pcie related codes from imx6sl. Signed-off-by: Richard Zhu <r65037@freescale.com>
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c9
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 c5ad545..e8dc42d 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -460,8 +460,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;
/*
@@ -493,7 +496,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