[U-Boot] [PATCH 5/9] ipu_common: Rename MXC_CCM_BASE
Fabio Estevam
fabio.estevam at freescale.com
Thu May 31 19:23:59 CEST 2012
Rename MXC_CCM_BASE to CCM_BASE_ADDR as this is already defined for MX6.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
drivers/video/ipu_common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c
index 7ef8742..84892dc 100644
--- a/drivers/video/ipu_common.c
+++ b/drivers/video/ipu_common.c
@@ -211,7 +211,7 @@ static void clk_ipu_disable(struct clk *clk)
static struct clk ipu_clk = {
.name = "ipu_clk",
.rate = 133000000,
- .enable_reg = (u32 *)(MXC_CCM_BASE +
+ .enable_reg = (u32 *)(CCM_BASE_ADDR +
offsetof(struct mxc_ccm_reg, CCGR5)),
.enable_shift = MXC_CCM_CCGR5_CG5_OFFSET,
.enable = clk_ipu_enable,
--
1.7.1
More information about the U-Boot
mailing list