diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-06-05 19:31:30 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-06-17 16:27:51 +0200 |
commit | bad40e089f2c1a0e42fa659611f85028c872cb96 (patch) | |
tree | 3f5f299a75a7f3cb1d6cdcb5d6c8d6b06a9ea14e /arch/arm/include | |
parent | 67a04ab3ab8522a3a34491853e46105317580df5 (diff) | |
download | u-boot-imx-bad40e089f2c1a0e42fa659611f85028c872cb96.zip u-boot-imx-bad40e089f2c1a0e42fa659611f85028c872cb96.tar.gz u-boot-imx-bad40e089f2c1a0e42fa659611f85028c872cb96.tar.bz2 |
mx6: Fix definition of IOMUXC_GPR12_DEVICE_TYPE_RC
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>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/iomux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h index f9ee0d9..6a4a632 100644 --- a/arch/arm/include/asm/arch-mx6/iomux.h +++ b/arch/arm/include/asm/arch-mx6/iomux.h @@ -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) /* |