diff options
author | Jean-Christophe Dubois <jcd@tribudubois.net> | 2022-12-20 18:27:43 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-01-05 15:02:08 +0000 |
commit | a1e03956f4fb355d33a8a4d9f23ed35ccbed9ec9 (patch) | |
tree | b1f99cc7a1113dc3414ff79eaf143e12bfbe12d8 /hw/misc/imx6ul_ccm.c | |
parent | 111c4c49c3d5db20d7cac754f486f3989ac00c08 (diff) |
i.MX6UL: Add a specific GPT timer instance for the i.MX6UL
The i.MX6UL doesn't support CLK_HIGH ou CLK_HIGH_DIV clock source.
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/imx6ul_ccm.c')
-rw-r--r-- | hw/misc/imx6ul_ccm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/misc/imx6ul_ccm.c b/hw/misc/imx6ul_ccm.c index a65d031455..e01bb68ac7 100644 --- a/hw/misc/imx6ul_ccm.c +++ b/hw/misc/imx6ul_ccm.c @@ -522,12 +522,6 @@ static uint32_t imx6ul_ccm_get_clock_frequency(IMXCCMState *dev, IMXClk clock) case CLK_32k: freq = CKIL_FREQ; break; - case CLK_HIGH: - freq = CKIH_FREQ; - break; - case CLK_HIGH_DIV: - freq = CKIH_FREQ / 8; - break; default: qemu_log_mask(LOG_GUEST_ERROR, "[%s]%s: unsupported clock %d\n", TYPE_IMX6UL_CCM, __func__, clock); |