[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 22/25] i.MX: Fix i.MX31 default/reset configuration
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PULL 22/25] i.MX: Fix i.MX31 default/reset configuration |
Date: |
Thu, 17 Dec 2015 11:50:17 +0000 |
From: Jean-Christophe Dubois <address@hidden>
Linux on i.MX31/KZM is expecting the CCM to use the CKIH ref clock
instead of the CKIL plus the FPM multiplier.
We change the CCMR reg reset value to match linux expected config.
This allows the CCM to provide a 39MHz clk (as expected by linux)
instead of the actual 50MHz.
With this change the "sleep 60" command on linux is time accurate
with "real world time".
Signed-off-by: Jean-Christophe Dubois <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
---
hw/misc/imx_ccm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/misc/imx_ccm.c b/hw/misc/imx_ccm.c
index 4cc2bbc..500dda5 100644
--- a/hw/misc/imx_ccm.c
+++ b/hw/misc/imx_ccm.c
@@ -123,7 +123,7 @@ static void imx_ccm_reset(DeviceState *dev)
{
IMXCCMState *s = IMX_CCM(dev);
- s->ccmr = 0x074b0b7b;
+ s->ccmr = 0x074b0b7d;
s->pdr0 = 0xff870b48;
s->pdr1 = 0x49fcfe7f;
s->mpctl = PLL_PD(1) | PLL_MFD(0) | PLL_MFI(6) | PLL_MFN(0);
--
1.9.1
- [Qemu-devel] [PULL 00/25] target-arm queue, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 05/25] target-arm: Fix and improve AA32 singlestep translation completion code, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 22/25] i.MX: Fix i.MX31 default/reset configuration,
Peter Maydell <=
- [Qemu-devel] [PULL 20/25] target-arm: kvm - re-inject guest debug exceptions, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 23/25] i.MX: rename i.MX CCM get_clock() function and CLK ID enum names, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 24/25] i.MX: Split the CCM class into an abstract base class and a concrete class, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 17/25] target-arm: kvm - implement software breakpoints, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 19/25] target-arm: kvm - add support for HW assisted debug, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 21/25] tests/guest-debug: introduce basic gdbstub tests, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 18/25] target-arm: kvm - support for single step, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 10/25] ARM: ACPI: Add power button device in ACPI DSDT table, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 15/25] ARM: Virt: Add gpio-keys node for Poweroff using DT, Peter Maydell, 2015/12/17
- [Qemu-devel] [PULL 16/25] target-arm: kvm64 - introduce kvm_arm_init_debug(), Peter Maydell, 2015/12/17