diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-18 14:07:13 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-03 14:03:02 +0200 |
commit | 93c3fe2a349970aaba8d196b8c2cbcd7c472bb81 (patch) | |
tree | 1e72205ceacbe96fcc4f85966123f577639c21d1 /tests/libqos/i2c.h | |
parent | 751a7a5d00b23e1977c0c082fe041efbde77d06c (diff) |
tests: convert OMAP i2c tests to qgraph
This way, pca9952-test and tmp105-test will run for every machine
that exposes an i2c-bus.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/libqos/i2c.h')
-rw-r--r-- | tests/libqos/i2c.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/libqos/i2c.h b/tests/libqos/i2c.h index 0107cfc633..66b0e0d06e 100644 --- a/tests/libqos/i2c.h +++ b/tests/libqos/i2c.h @@ -38,8 +38,6 @@ struct QI2CDevice { I2CAdapter *bus; }; -#define OMAP2_I2C_1_BASE 0x48070000 - void *i2c_device_create(void *i2c_bus, QGuestAllocator *alloc, void *addr); void i2c_send(I2CAdapter *i2c, uint8_t addr, @@ -67,8 +65,6 @@ typedef struct OMAPI2C { } OMAPI2C; void omap_i2c_init(OMAPI2C *s, QTestState *qts, uint64_t addr); -I2CAdapter *omap_i2c_create(QTestState *qts, uint64_t addr); -void omap_i2c_free(I2CAdapter *i2c); /* i2c-imx.c */ typedef struct IMXI2C { |