mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
i.MX: Add an i.MX25 specific CCM class/instance
With this CCM, i.MX25 timer is accurate with "real world time". Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net> Message-id: 2c0cf90be767bfc8520661eca891ab22c61f18fe.1449528242.git.jcd@tribudubois.net Reviewed-by Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
cb54d868c6
commit
92eccc6e13
5 changed files with 424 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "hw/arm/arm.h"
|
||||
#include "hw/intc/imx_avic.h"
|
||||
#include "hw/misc/imx31_ccm.h"
|
||||
#include "hw/misc/imx25_ccm.h"
|
||||
#include "hw/char/imx_serial.h"
|
||||
#include "hw/timer/imx_gpt.h"
|
||||
#include "hw/timer/imx_epit.h"
|
||||
|
@ -44,7 +44,7 @@ typedef struct FslIMX25State {
|
|||
/*< public >*/
|
||||
ARMCPU cpu;
|
||||
IMXAVICState avic;
|
||||
IMX31CCMState ccm;
|
||||
IMX25CCMState ccm;
|
||||
IMXSerialState uart[FSL_IMX25_NUM_UARTS];
|
||||
IMXGPTState gpt[FSL_IMX25_NUM_GPTS];
|
||||
IMXEPITState epit[FSL_IMX25_NUM_EPITS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue