qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/4] Add an i.MX25 specific CCM driver
@ 2015-12-01 20:25 Jean-Christophe Dubois
  2015-12-01 20:25 ` [Qemu-devel] [PATCH v5 1/4] i.MX: Fix i.MX31 default/reset configuration Jean-Christophe Dubois
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jean-Christophe Dubois @ 2015-12-01 20:25 UTC (permalink / raw)
  To: qemu-devel, peter.maydell, crosthwaite.peter, qemu-arm
  Cc: Jean-Christophe Dubois

i.MX25 SOC has a different CCM device than i.MX31.

Qemu i.MX25 emulation was built with i.MX31 CCM driver. This allows
Linux to work on top of the i.MX25 emultion but this is not correct.

Furthermore, other SOC we could emulate like i.MX6 have yet a different
implementation of the CCM device.

So we split the i.MX31 into a generic base class and a specific i.MX31
class.

We then add an i.MX25 specific CCM Device and have the i.MX25 SOC use it.

Jean-Christophe Dubois (4):
  i.MX: Fix i.MX31 default/reset configuration.
  i.MX: rename i.MX CCM get_clock() function and CLK ID enum names
  i.MX: Split the CCM class into an abstact base class and a concrete
    class.
  i.MX: Add an i.MX25 specific CCM class/instance.

 hw/arm/fsl-imx25.c          |   6 +-
 hw/arm/fsl-imx31.c          |   6 +-
 hw/misc/Makefile.objs       |   2 +
 hw/misc/imx25_ccm.c         | 367 +++++++++++++++++++++++++++++++++++++++++
 hw/misc/imx31_ccm.c         | 392 ++++++++++++++++++++++++++++++++++++++++++++
 hw/misc/imx_ccm.c           | 231 +++-----------------------
 hw/timer/imx_epit.c         |  20 +--
 hw/timer/imx_gpt.c          |  16 +-
 include/hw/arm/fsl-imx25.h  |   4 +-
 include/hw/arm/fsl-imx31.h  |   4 +-
 include/hw/misc/imx25_ccm.h |  61 +++++++
 include/hw/misc/imx31_ccm.h |  66 ++++++++
 include/hw/misc/imx_ccm.h   |  75 +++------
 include/hw/timer/imx_epit.h |   5 +-
 include/hw/timer/imx_gpt.h  |   5 +-
 15 files changed, 970 insertions(+), 290 deletions(-)
 create mode 100644 hw/misc/imx25_ccm.c
 create mode 100644 hw/misc/imx31_ccm.c
 create mode 100644 include/hw/misc/imx25_ccm.h
 create mode 100644 include/hw/misc/imx31_ccm.h

-- 
2.5.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-12-07  5:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 20:25 [Qemu-devel] [PATCH v5 0/4] Add an i.MX25 specific CCM driver Jean-Christophe Dubois
2015-12-01 20:25 ` [Qemu-devel] [PATCH v5 1/4] i.MX: Fix i.MX31 default/reset configuration Jean-Christophe Dubois
2015-12-07  5:01   ` Peter Crosthwaite
2015-12-01 20:25 ` [Qemu-devel] [PATCH v5 2/4] i.MX: rename i.MX CCM get_clock() function and CLK ID enum names Jean-Christophe Dubois
2015-12-01 20:25 ` [Qemu-devel] [PATCH v5 3/4] i.MX: Split the CCM class into an abstact base class and a concrete class Jean-Christophe Dubois
2015-12-01 20:25 ` [Qemu-devel] [PATCH v5 4/4] i.MX: Add an i.MX25 specific CCM class/instance Jean-Christophe Dubois
2015-12-07  4:41   ` Peter Crosthwaite

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).