diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-02-02 21:47:43 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-02 21:47:43 +0000 |
| commit | b794f30d209cd32349fb2bd64c90b9668b828eb7 (patch) | |
| tree | eb33f985f7df122a7bd91ed451e6204570076068 /firmware/drivers/i2c.c | |
| parent | 36355a5c6646ce51969b68526058efa5f325fcbf (diff) | |
| download | rockbox-b794f30d209cd32349fb2bd64c90b9668b828eb7.zip rockbox-b794f30d209cd32349fb2bd64c90b9668b828eb7.tar.gz rockbox-b794f30d209cd32349fb2bd64c90b9668b828eb7.tar.bz2 rockbox-b794f30d209cd32349fb2bd64c90b9668b828eb7.tar.xz | |
provide coldfire dummies to build for iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5743 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/i2c.c')
| -rw-r--r-- | firmware/drivers/i2c.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/drivers/i2c.c b/firmware/drivers/i2c.c index ed12145..f44c0a9 100644 --- a/firmware/drivers/i2c.c +++ b/firmware/drivers/i2c.c @@ -23,6 +23,8 @@ #include "debug.h" #include "system.h" +#if CONFIG_I2C != I2C_H100 /* FIX: not yet done */ + /* cute little functions, atomic read-modify-write */ #if CONFIG_I2C == I2C_GMINI @@ -279,3 +281,9 @@ int i2c_read(int address, unsigned char* buf, int count ) i2c_stop(); return x; } +#else /* not h100 i2c */ +void i2c_init(void) +{ + /* a dummy */ +} +#endif /* h100 i2c */ |