]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6: Fix definition of IOMUXC_GPR12_DEVICE_TYPE_RC
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 5 Jun 2014 22:31:30 +0000 (19:31 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 17 Jun 2014 14:27:51 +0000 (16:27 +0200)
mx6 reference manual incorrectly states that the DEVICE_TYPE field of
IOMUXC_GPR12 register should be configured as '0010' for setting the PCI
controller in RC mode. The correct value should be '0100' instead.

This also aligns with the same value used in the mx6 pci kernel driver.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx6/iomux.h

index f9ee0d9839c088c13f18af2968118c5fa839ee87..6a4a6321995b8832bf02544eaa71b0dbb9722901 100644 (file)
@@ -39,7 +39,7 @@
 #define IOMUXC_GPR12_LOS_LEVEL_MASK            (0x1f << 4)
 #define IOMUXC_GPR12_APPS_LTSSM_ENABLE         (1 << 10)
 #define IOMUXC_GPR12_DEVICE_TYPE_EP            (0x0 << 12)
-#define IOMUXC_GPR12_DEVICE_TYPE_RC            (0x2 << 12)
+#define IOMUXC_GPR12_DEVICE_TYPE_RC            (0x4 << 12)
 #define IOMUXC_GPR12_DEVICE_TYPE_MASK          (0xf << 12)
 
 /*