From: Jean-Christophe Dubois <jcd@tribudubois.net>
To: qemu-devel@nongnu.org, peter.maydell@linaro.org,
crosthwaite.peter@gmail.com, qemu-arm@nongnu.org
Cc: Jean-Christophe Dubois <jcd@tribudubois.net>
Subject: [Qemu-devel] [PATCH v4 0/3] Add an i.MX25 specific CCM driver
Date: Thu, 26 Nov 2015 08:15:54 +0100 [thread overview]
Message-ID: <cover.1448521064.git.jcd@tribudubois.net> (raw)
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 (3):
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 | 276 +++++++++++++++++++++++++++++++++++++++
hw/misc/imx31_ccm.c | 306 ++++++++++++++++++++++++++++++++++++++++++++
hw/misc/imx_ccm.c | 226 +++-----------------------------
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 | 59 +++++++++
include/hw/misc/imx31_ccm.h | 64 +++++++++
include/hw/misc/imx_ccm.h | 75 ++++-------
include/hw/timer/imx_epit.h | 5 +-
include/hw/timer/imx_gpt.h | 5 +-
15 files changed, 784 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
next reply other threads:[~2015-11-26 7:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-26 7:15 Jean-Christophe Dubois [this message]
2015-11-26 7:16 ` [Qemu-devel] [PATCH v4 1/3] i.MX: rename i.MX CCM get_clock() function and CLK ID enum names Jean-Christophe Dubois
2015-11-27 2:40 ` Peter Crosthwaite
2015-11-26 7:16 ` [Qemu-devel] [PATCH v4 2/3] i.MX: Split the CCM class into an abstact base class and a concrete class Jean-Christophe Dubois
2015-11-27 2:40 ` Peter Crosthwaite
2015-11-26 7:16 ` [Qemu-devel] [PATCH v4 3/3] i.MX: Add an i.MX25 specific CCM class/instance Jean-Christophe Dubois
2015-11-27 2:39 ` [Qemu-arm] " Peter Crosthwaite
2015-11-27 2:39 ` [Qemu-devel] " Peter Crosthwaite
2015-11-27 19:54 ` [Qemu-arm] " Jean-Christophe DUBOIS
2015-11-27 19:54 ` [Qemu-devel] " Jean-Christophe DUBOIS
2015-11-27 20:26 ` [Qemu-arm] " Peter Crosthwaite
2015-11-27 20:26 ` [Qemu-devel] " Peter Crosthwaite
2015-11-27 21:43 ` [Qemu-arm] " Guenter Roeck
2015-11-27 21:43 ` [Qemu-devel] " Guenter Roeck
2015-11-27 22:05 ` [Qemu-arm] " Jean-Christophe DUBOIS
2015-11-27 22:05 ` [Qemu-devel] " Jean-Christophe DUBOIS
2015-11-27 22:12 ` [Qemu-arm] " Peter Crosthwaite
2015-11-27 22:12 ` [Qemu-devel] " Peter Crosthwaite
2015-11-29 23:46 ` [Qemu-arm] " Jean-Christophe DUBOIS
2015-11-29 23:46 ` [Qemu-devel] " Jean-Christophe DUBOIS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1448521064.git.jcd@tribudubois.net \
--to=jcd@tribudubois.net \
--cc=crosthwaite.peter@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.