i.MX: Remove CCM useless clock computation handling.
commitf4b2add6ccc66c983258a04ded9e8e9d6ec2a731
authorJean-Christophe Dubois <jcd@tribudubois.net>
Wed, 16 Mar 2016 17:05:59 +0000 (16 17:05 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 16 Mar 2016 17:42:18 +0000 (16 17:42 +0000)
tree94d899a6c0437f9bda01a0aa56d1a6de57b9b6cd
parentc91a5883c31fa0f0b57aef24904b63d05b8673c8
i.MX: Remove CCM useless clock computation handling.

Most clocks supported by the CCM are useless to the qemu framework.

Only clocks related to timers (EPIT, GPT, PWM, WATCHDOG, ...) are usefull
to QEMU code.

Therefore this patch removes clock computation handling for all clocks but:
* CLK_NONE,
* CLK_IPG,
* CLK_32k

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: 9e7222efb349801032e60c0f6b0fbad0e5dcf648.1456868959.git.jcd@tribudubois.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/imx25_ccm.c
hw/misc/imx31_ccm.c
include/hw/misc/imx_ccm.h