From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVeoP-0000jb-Eo for qemu-devel@nongnu.org; Fri, 26 Apr 2013 05:19:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVeoL-00028p-Rm for qemu-devel@nongnu.org; Fri, 26 Apr 2013 05:19:25 -0400 Received: from goliath.siemens.de ([192.35.17.28]:23227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVeoL-000237-BP for qemu-devel@nongnu.org; Fri, 26 Apr 2013 05:19:21 -0400 From: Jan Kiszka Date: Fri, 26 Apr 2013 11:19:15 +0200 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] =?utf-8?q?=5BPATCH_v3_0/2=5D_i2c=3A_Add_AT24Cxx_EEPR?= =?utf-8?q?OM_model?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , Anthony Liguori Cc: Peter Crosthwaite , Andreas Faerber Changes in v3: - rebased over current master - addressed review comments by Andreas F=C3=A4rber and Peter Crosthwaite - better QOM compliance - table-driven device parametrization I also briefly looked into a libqos-based test case, but the omap wrapper just gives me libi2c-omap.c:79:omap_i2c_send: assertion failed: ((data & OMAP_I2C_CON= _STP) !=3D 0) when sending an address word to the EEPROM. Jan Kiszka (2): i2c: Introduce device address mask Add AT24Cxx I2C EEPROM device model hw/arm/pxa2xx.c | 3 +- hw/arm/tosa.c | 2 +- hw/arm/z2.c | 2 +- hw/audio/wm8750.c | 2 +- hw/display/ssd0303.c | 2 +- hw/gpio/max7310.c | 2 +- hw/i2c/core.c | 14 ++- hw/i2c/smbus.c | 2 +- hw/input/lm832x.c | 2 +- hw/misc/tmp105.c | 2 +- hw/nvram/Makefile.objs | 2 +- hw/nvram/at24.c | 347 ++++++++++++++++++++++++++++++++++++++++++= ++++++ hw/timer/ds1338.c | 2 +- hw/timer/twl92230.c | 2 +- include/hw/i2c/i2c.h | 4 +- 15 files changed, 373 insertions(+), 17 deletions(-) create mode 100644 hw/nvram/at24.c --=20 1.7.3.4