summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-05-31 07:24:00 +0000
committerAnatolij Gustschin <agust@denx.de>2012-07-10 11:35:39 +0200
commit9fbdb1aac5583197270c5d1a7634b7f93b34a654 (patch)
tree9319179c57c7b0929fbaecea0b84acbd8d882ed4 /drivers/video
parent477bca22f6bb649fb4c55d3ee401ff0f3c0c0e9e (diff)
downloadu-boot-imx-9fbdb1aac5583197270c5d1a7634b7f93b34a654.zip
u-boot-imx-9fbdb1aac5583197270c5d1a7634b7f93b34a654.tar.gz
u-boot-imx-9fbdb1aac5583197270c5d1a7634b7f93b34a654.tar.bz2
ipu_common: Do not hardcode the ipu_clk frequency
Do not hardcode the ipu_clk frequency and let the board file pass this value. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/ipu_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c
index 84892dc..e43a6ec 100644
--- a/drivers/video/ipu_common.c
+++ b/drivers/video/ipu_common.c
@@ -210,7 +210,7 @@ static void clk_ipu_disable(struct clk *clk)
static struct clk ipu_clk = {
.name = "ipu_clk",
- .rate = 133000000,
+ .rate = CONFIG_IPUV3_CLK,
.enable_reg = (u32 *)(CCM_BASE_ADDR +
offsetof(struct mxc_ccm_reg, CCGR5)),
.enable_shift = MXC_CCM_CCGR5_CG5_OFFSET,