diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-06 01:22:22 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-06 01:22:22 +0200 |
commit | 78da60773c4822b071f4b050910ee0fdda8c0b2b (patch) | |
tree | e09902a77bf310df0826f04a0276d1ed91f92088 /cpu/arm920t/at91rm9200/i2c.c | |
parent | c0e82d5016924b446bd5542045854aa0e109fe80 (diff) | |
download | u-boot-imx-78da60773c4822b071f4b050910ee0fdda8c0b2b.zip u-boot-imx-78da60773c4822b071f4b050910ee0fdda8c0b2b.tar.gz u-boot-imx-78da60773c4822b071f4b050910ee0fdda8c0b2b.tar.bz2 |
Complete support for the KwikByte KB920x boards
Patch by Anders Larsen, 05 Oct 2005
Diffstat (limited to 'cpu/arm920t/at91rm9200/i2c.c')
-rw-r--r-- | cpu/arm920t/at91rm9200/i2c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/arm920t/at91rm9200/i2c.c b/cpu/arm920t/at91rm9200/i2c.c index 5692740..2565998 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; |