diff options
Diffstat (limited to 'cpu/arm920t/at91rm9200/i2c.c')
-rw-r--r-- | cpu/arm920t/at91rm9200/i2c.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpu/arm920t/at91rm9200/i2c.c b/cpu/arm920t/at91rm9200/i2c.c index 826cea8e26..7e2d67ca53 100644 --- a/cpu/arm920t/at91rm9200/i2c.c +++ b/cpu/arm920t/at91rm9200/i2c.c @@ -126,9 +126,6 @@ i2c_read (unsigned char chip, unsigned int addr, int alen, return 1; /* XXX assume an ATMEL AT24C16 */ if (alen == 1) { -#if 0 /* EEPROM code already sets this correctly */ - chip |= (addr >> 8) & 0xff; -#endif addr = addr & 0xff; } #endif @@ -151,9 +148,6 @@ i2c_write(unsigned char chip, unsigned int addr, int alen, buf = buffer; /* do single byte writes */ for (i = 0; i < len; i++) { -#if 0 /* EEPROM code already sets this correctly */ - chip |= (addr >> 8) & 0xff; -#endif addr = addr & 0xff; if (at91_xfer(chip, addr, alen, buf++, 1, 0)) return 1; |