This series of patches is generated against Peter Maydell GIT tree: https://git.linaro.org/people/peter.maydell/qemu-arm.git branch target-arm-post-2.4
This series of patches add the support for the i.MX25 processor through the Freescale PDK evaluation board. For now a limited set of devices is supported. * GPT timers (from i.MX31) * EPIT timers (from i.MX31) * Serial ports (from i.MX31) * Ethernet FEC port * I2C controller In the process the KZM platform was split into an i.MX31 SOC and a plateform part. Also, I2C devices was added to the i.MX31 SOC. This was tested by: * booting a minimal linux system on the i.MX25 PDK platform * booting the Xvisor hypervisor on the i.MX25 PDK platform * booting a minimal linux system on the KZM platform Jean-Christophe Dubois (8): i.MX: Add SOC support for i.MX31 i.MX: KZM now uses the standalone i.MX31 SOC support i.MX: Add I2C controller emulator i.MX: Add FEC Ethernet Emulator i.MX: Add SOC support for i.MX25 i.MX: Add the i.MX25 PDK plateform i.MX: Add qtest support for I2C device emulator. i.MX: Add i2C devices to i.MX31 SOC default-configs/arm-softmmu.mak | 6 + hw/arm/Makefile.objs | 4 +- hw/arm/fsl-imx25.c | 273 ++++++++++++++++ hw/arm/fsl-imx31.c | 246 ++++++++++++++ hw/arm/imx25_pdk.c | 165 ++++++++++ hw/arm/kzm.c | 209 ++++++------ hw/char/imx_serial.c | 35 -- hw/i2c/Makefile.objs | 1 + hw/i2c/imx_i2c.c | 339 +++++++++++++++++++ hw/net/Makefile.objs | 1 + hw/net/imx_fec.c | 709 ++++++++++++++++++++++++++++++++++++++++ hw/timer/imx_epit.c | 11 - hw/timer/imx_gpt.c | 11 - include/hw/arm/fsl-imx25.h | 234 +++++++++++++ include/hw/arm/fsl-imx31.h | 110 +++++++ include/hw/arm/imx.h | 26 -- include/hw/i2c/imx_i2c.h | 85 +++++ include/hw/net/imx_fec.h | 113 +++++++ tests/Makefile | 3 + tests/ds1338-test.c | 78 +++++ tests/libqos/i2c-imx.c | 209 ++++++++++++ tests/libqos/i2c.h | 3 + 22 files changed, 2684 insertions(+), 187 deletions(-) create mode 100644 hw/arm/fsl-imx25.c create mode 100644 hw/arm/fsl-imx31.c create mode 100644 hw/arm/imx25_pdk.c create mode 100644 hw/i2c/imx_i2c.c create mode 100644 hw/net/imx_fec.c create mode 100644 include/hw/arm/fsl-imx25.h create mode 100644 include/hw/arm/fsl-imx31.h delete mode 100644 include/hw/arm/imx.h create mode 100644 include/hw/i2c/imx_i2c.h create mode 100644 include/hw/net/imx_fec.h create mode 100644 tests/ds1338-test.c create mode 100644 tests/libqos/i2c-imx.c -- 2.1.4