diff options
author | Jean-Christophe Dubois <jcd@tribudubois.net> | 2016-03-16 17:06:00 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-03-16 17:42:18 +0000 |
commit | d552f675fb313eb020c384c03307ecfb83dce1ad (patch) | |
tree | ca59c60827d537c5f840e6cca45614c154cf526f /include | |
parent | f4b2add6ccc66c983258a04ded9e8e9d6ec2a731 (diff) | |
download | qemu-d552f675fb313eb020c384c03307ecfb83dce1ad.zip qemu-d552f675fb313eb020c384c03307ecfb83dce1ad.tar.gz qemu-d552f675fb313eb020c384c03307ecfb83dce1ad.tar.bz2 |
i.MX: Add the CLK_IPG_HIGH clock
EPIT, GPT and other i.MX timers are using "abstract" clocks among which
a CLK_IPG_HIGH clock.
On i.MX25 and i.MX31 CLK_IPG and CLK_IPG_HIGH are mapped to the same clock
but on other SOC like i.MX6 they are mapped to distinct clocks.
This patch add the CLK_IPG_HIGH to prepare for SOC where these 2 clocks are
different.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: 224bf650194760284cb40630e985867e1373276a.1456868959.git.jcd@tribudubois.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/misc/imx_ccm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/imx_ccm.h b/include/hw/misc/imx_ccm.h index 378b78d..48a7afa 100644 --- a/include/hw/misc/imx_ccm.h +++ b/include/hw/misc/imx_ccm.h @@ -45,6 +45,7 @@ typedef struct IMXCCMState { typedef enum { CLK_NONE, CLK_IPG, + CLK_IPG_HIGH, CLK_32k } IMXClk; |