The generic clock framework expects frequencies in Hz whereas the imx clock
authorkettenis <kettenis@openbsd.org>
Sat, 30 Dec 2017 13:34:56 +0000 (13:34 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 30 Dec 2017 13:34:56 +0000 (13:34 +0000)
commitebb1eb7906bba94c50f509a9ea19762475332879
tree2282432cb183be0b9ce533e6b3ff7f09d2672657
parent4e7b86a5c323d4df316a73ac7063ec7d36ddf476
The generic clock framework expects frequencies in Hz whereas the imx clock
code was providing them in kHz.  Get rid of this discrepancy.
Hook up the CPU clock to the generic clock framework and remove the
cpuspeed function as it is no longer needed.

ok patrick@
sys/arch/armv7/imx/imxccm.c
sys/arch/armv7/imx/imxccm_clocks.h
sys/arch/armv7/imx/imxesdhc.c
sys/arch/armv7/imx/imxiic.c
sys/arch/armv7/imx/imxuart.c