From e36b20c4a1709ae9fd3020b9f08875c8c03a0912 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 3 Jul 2011 15:18:41 +0000 Subject: imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30120 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/i2c.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/export/i2c.h') diff --git a/firmware/export/i2c.h b/firmware/export/i2c.h index 49529c4635..ac9ddba055 100644 --- a/firmware/export/i2c.h +++ b/firmware/export/i2c.h @@ -27,6 +27,7 @@ extern void i2c_end(void); extern int i2c_write(int device, const unsigned char* buf, int count ); extern int i2c_read(int device, unsigned char* buf, int count ); extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); +extern int i2c_writemem(int device, int address, const unsigned char* buf, int count ); extern void i2c_outb(unsigned char byte); extern unsigned char i2c_inb(int ack); extern void i2c_start(void); -- cgit v1.2.3