u-boot/arch/arm/cpu/armv7/mx5
Benoît Thébaudeau b94792982f mx5 clocks: Fix get_lp_apm()
If CCM.CCSR.lp_apm is set, the lp_apm clock is not necessarily 32768 Hz x 1024.
In that case:
 - on i.MX51, this clock comes from the output of the FPM,
 - on i.MX53, this clock comes from the output of PLL4.

This patch fixes the code accordingly.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
2012-10-15 11:54:11 -07:00
..
asm-offsets.c MX5: Update to autogenerated asm-offsets.h 2011-07-14 15:41:24 +02:00
clock.c mx5 clocks: Fix get_lp_apm() 2012-10-15 11:54:11 -07:00
iomux.c MX5: Add initial support for MX53 processor 2011-02-02 00:54:41 +01:00
lowlevel_init.S mx5: cosmetic: Clean up lowlevel_init 2012-09-01 14:58:26 +02:00
Makefile i.mx: introduce the armv7/imx-common folder 2011-12-09 17:30:10 +01:00
soc.c imx-common/cmd_bmode.c: add imx bmode (bootmode) command 2012-09-01 14:58:26 +02:00