On Thursday, June 05, 2014 at 09:20:12 PM, Fabio Estevam wrote: > On Thu, Jun 5, 2014 at 2:53 PM, Marek Vasut <ma...@denx.de> wrote: > >> Does this help? > >> > >> drivers/pci/pcie_imx.c | 3 +-- > >> 1 file changed, 1 insertion(+), 2 deletions(-) > >> > >> diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c > >> index c48737e..190cdec 100644 > >> --- a/drivers/pci/pcie_imx.c > >> +++ b/drivers/pci/pcie_imx.c > >> @@ -435,8 +435,7 @@ static int imx6_pcie_init_phy(void) > >> > >> clrbits_le32(&iomuxc_regs->gpr[12], > >> IOMUXC_GPR12_APPS_LTSSM_ENABLE); > >> > >> clrsetbits_le32(&iomuxc_regs->gpr[12], > >> > >> - IOMUXC_GPR12_DEVICE_TYPE_MASK, > >> - IOMUXC_GPR12_DEVICE_TYPE_RC); > >> + IOMUXC_GPR12_DEVICE_TYPE_MASK, 4 << 12); > > > > Is this the setting of RC-mode in GPR12 ? That's wrong in the FSL > > datasheet, not in the code IIRC ;-) > > Yes, RM is wrong. U-boot is setting it to 2. Kernel sets it to 4, > which is the correct value.
Ah yes, 0x4 is correct, I stand corrected, sorry. Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot