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>
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user