]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6: crm_regs: Fix MXC_CCM_CLPCR_WB_PER_AT_LPM definition
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 1 Aug 2014 11:50:01 +0000 (08:50 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 8 Aug 2014 08:29:40 +0000 (10:29 +0200)
According to the Reference Manual the 'wb_per_at_lpm' field of register
CCM_CLPCR corresponds to bit 16 so fix its definition accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/include/asm/arch-mx6/crm_regs.h

index 9afe788389d17662596492deb7ded18f91bee718..e1cdcec8f586082ebd22b54c5311bac21777f176 100644 (file)
@@ -432,7 +432,7 @@ struct mxc_ccm_reg {
 #define MXC_CCM_CLPCR_BYP_MMDC_CH0_LPM_HS              (1 << 19)
 #define MXC_CCM_CLPCR_WB_CORE_AT_LPM                   (1 << 17)
 #endif
-#define MXC_CCM_CLPCR_WB_PER_AT_LPM                    (1 << 17)
+#define MXC_CCM_CLPCR_WB_PER_AT_LPM                    (1 << 16)
 #define MXC_CCM_CLPCR_COSC_PWRDOWN                     (1 << 11)
 #define MXC_CCM_CLPCR_STBY_COUNT_MASK                  (0x3 << 9)
 #define MXC_CCM_CLPCR_STBY_COUNT_OFFSET                        9