Skip to content
Snippets Groups Projects
Commit 1bda1624 authored by Andre Schwarz's avatar Andre Schwarz Committed by Kim Phillips
Browse files

MPC837x: set i2c1_clk


 Running on mpc837x without CONFIG_FSL_ESDHC leads to
 i2c1_clk not being set at all. It is bound to clock
 of encryption module. fix this.

Signed-off-by: default avatarAndre Schwarz <andre.schwarz@matrix-vision.de>
Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
parent 9a865fff
No related branches found
No related tags found
No related merge requests found
...@@ -327,6 +327,8 @@ int get_clocks(void) ...@@ -327,6 +327,8 @@ int get_clocks(void)
i2c1_clk = enc_clk; i2c1_clk = enc_clk;
#elif defined(CONFIG_FSL_ESDHC) #elif defined(CONFIG_FSL_ESDHC)
i2c1_clk = sdhc_clk; i2c1_clk = sdhc_clk;
#elif defined(CONFIG_MPC837x)
i2c1_clk = enc_clk;
#endif #endif
#if !defined(CONFIG_MPC832x) #if !defined(CONFIG_MPC832x)
i2c2_clk = csb_clk; /* i2c-2 clk is equal to csb clk */ i2c2_clk = csb_clk; /* i2c-2 clk is equal to csb clk */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment