summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorPierre Aubert <p.aubert@staubli.com>2013-09-23 13:37:20 +0200
committerStefano Babic <sbabic@denx.de>2013-09-27 13:53:35 +0200
commita0a0dacfe8ff8d7036db823ca5ea9ba393a35187 (patch)
tree032cd0b586f6ffb72c0b2387d2639a0d35b04338 /arch/arm/cpu
parenta05f4ab6cc84a92c02ff1dbe2eb8a70161de4cbb (diff)
downloadu-boot-imx-a0a0dacfe8ff8d7036db823ca5ea9ba393a35187.zip
u-boot-imx-a0a0dacfe8ff8d7036db823ca5ea9ba393a35187.tar.gz
u-boot-imx-a0a0dacfe8ff8d7036db823ca5ea9ba393a35187.tar.bz2
mx6: Fix use of improper value in enable_ipu_clock
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>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/mx6/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c
index 010d932..df11678 100644
--- a/arch/arm/cpu/armv7/mx6/clock.c
+++ b/arch/arm/cpu/armv7/mx6/clock.c
@@ -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);
}
/***************************************************/