diff options
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | cpu/arm920t/at91rm9200/i2c.c | 3 | ||||
-rw-r--r-- | include/configs/kb9202.h | 4 |
3 files changed, 6 insertions, 4 deletions
@@ -2,6 +2,9 @@ Changes for U-Boot 1.1.4: ====================================================================== +* Complete support for the KwikByte KB920x boards + Patch by Anders Larsen, 05 Oct 2005 + * Set the AT91RM9200 clock to asynchronous mode Patch by Anders Larsen, 03 May 2005 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; diff --git a/include/configs/kb9202.h b/include/configs/kb9202.h index a530242..6590f6f 100644 --- a/include/configs/kb9202.h +++ b/include/configs/kb9202.h @@ -116,8 +116,8 @@ #define CFG_ENV_IS_IN_EEPROM #ifdef CONFIG_KB9202 -#define CFG_ENV_OFFSET 0x3000 -#define CFG_ENV_SIZE 0x1000 +#define CFG_ENV_OFFSET 0x3E00 +#define CFG_ENV_SIZE 0x0200 #else #define CFG_ENV_OFFSET 0x1000 #define CFG_ENV_SIZE 0x1000 |