mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
477bca22f6
commit
9fbdb1aac5
4 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -133,6 +133,7 @@
|
|||
#define CONFIG_SPLASH_SCREEN
|
||||
#define CONFIG_BMP_16BPP
|
||||
#define CONFIG_VIDEO_LOGO
|
||||
#define CONFIG_IPUV3_CLK 133000000
|
||||
|
||||
/* allow to overwrite serial and ethaddr */
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
|
|
@ -226,5 +226,6 @@
|
|||
#define CONFIG_SPLASH_SCREEN
|
||||
#define CONFIG_BMP_16BPP
|
||||
#define CONFIG_VIDEO_LOGO
|
||||
#define CONFIG_IPUV3_CLK 133000000
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -219,5 +219,6 @@
|
|||
#define CONFIG_SPLASH_SCREEN
|
||||
#define CONFIG_CMD_BMP
|
||||
#define CONFIG_BMP_16BPP
|
||||
#define CONFIG_IPUV3_CLK 133000000
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
Loading…
Reference in a new issue