]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mx6: Fix use of improper value in enable_ipu_clock
authorPierre Aubert <p.aubert@staubli.com>
Mon, 23 Sep 2013 11:37:20 +0000 (13:37 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Sep 2013 11:53:35 +0000 (13:53 +0200)
The value MXC_CCM_CCGR3_IPU1_IPU_DI0_OFFSET that was used to initialize
the CCGR3 register caused an undefined value for CG0.

Signed-off-by: Pierre Aubert <p.aubert@staubli.com>
CC: Stefano Babic <sbabic@denx.de>
Acked-by: Eric Nelson <eric.nelson@boundarydevices.com>
arch/arm/cpu/armv7/mx6/clock.c

index 010d93208ecb46d71265016c738aa367c2b98116..df11678609b060b75af3ae12b13a8cca94c75b6c 100644 (file)
@@ -487,7 +487,7 @@ void enable_ipu_clock(void)
        struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
        int reg;
        reg = readl(&mxc_ccm->CCGR3);
-       reg |= MXC_CCM_CCGR3_IPU1_IPU_DI0_OFFSET;
+       reg |= MXC_CCM_CCGR3_IPU1_IPU_MASK;
        writel(reg, &mxc_ccm->CCGR3);
 }
 /***************************************************/