aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorWolfgang Denk2005-10-06 01:22:22 +0200
committerWolfgang Denk2005-10-06 01:22:22 +0200
commit78da60773c4822b071f4b050910ee0fdda8c0b2b (patch)
treee09902a77bf310df0826f04a0276d1ed91f92088 /cpu
parentc0e82d5016924b446bd5542045854aa0e109fe80 (diff)
Complete support for the KwikByte KB920x boards
Patch by Anders Larsen, 05 Oct 2005
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm920t/at91rm9200/i2c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/arm920t/at91rm9200/i2c.c b/cpu/arm920t/at91rm9200/i2c.c
index 569274082f2..2565998e484 100644
--- a/cpu/arm920t/at91rm9200/i2c.c
+++ b/cpu/arm920t/at91rm9200/i2c.c
@@ -65,9 +65,8 @@ at91_xfer(unsigned char chip, unsigned int addr, int alen,
| ((rw == 1) ? AT91C_TWI_MREAD : 0);
/* Set TWI Internal Address Register with first messages data field */
- /* only one address byte is supported */
if (alen > 0)
- twi->TWI_IADR = addr & 0xff;
+ twi->TWI_IADR = addr;
length = len;
buf = buffer;