commit | 0cef3aebde867b4c4fc1716d55a7220221830acf | [log] [tgz] |
---|---|---|
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | Thu Sep 27 10:23:08 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Mon Oct 15 11:54:11 2012 -0700 |
tree | 8e520586be8dd7120075ccd19f22f1db42994fc1 | |
parent | 96d9df3ef554da31c0b36c7fcdd1a6a130df17f2 [diff] |
mx5 clocks: Fix get_ipg_per_clk() This fixes the "IPG PERCLK" frequency printed by the clocks command. The issue was that get_ipg_per_clk() used periph_clk instead of lp_apm in the case CCM.CBCMR.perclk_lp_apm_sel is set. It also fixes I²C support. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>