diff options
author | Andre Schwarz <andre.schwarz@matrix-vision.de> | 2011-04-14 14:57:40 +0200 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2011-07-06 19:09:27 -0500 |
commit | 1bda1624b07ee1dff1a3e53c4a0c48f20ae4ec16 (patch) | |
tree | de724c4f4f45166b0e496d790d43095695375f8d /arch/powerpc/cpu/mpc83xx | |
parent | 9a865fff15931b5269778a20babcfd1b3f836f96 (diff) | |
download | u-boot-imx-1bda1624b07ee1dff1a3e53c4a0c48f20ae4ec16.zip u-boot-imx-1bda1624b07ee1dff1a3e53c4a0c48f20ae4ec16.tar.gz u-boot-imx-1bda1624b07ee1dff1a3e53c4a0c48f20ae4ec16.tar.bz2 |
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: Andre Schwarz <andre.schwarz@matrix-vision.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/speed.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/speed.c b/arch/powerpc/cpu/mpc83xx/speed.c index 5e616dd..1eca1a8 100644 --- a/arch/powerpc/cpu/mpc83xx/speed.c +++ b/arch/powerpc/cpu/mpc83xx/speed.c @@ -327,6 +327,8 @@ int get_clocks(void) i2c1_clk = enc_clk; #elif defined(CONFIG_FSL_ESDHC) i2c1_clk = sdhc_clk; +#elif defined(CONFIG_MPC837x) + i2c1_clk = enc_clk; #endif #if !defined(CONFIG_MPC832x) i2c2_clk = csb_clk; /* i2c-2 clk is equal to csb clk */ |