From 78da60773c4822b071f4b050910ee0fdda8c0b2b Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 6 Oct 2005 01:22:22 +0200 Subject: Complete support for the KwikByte KB920x boards Patch by Anders Larsen, 05 Oct 2005 diff --git a/CHANGELOG b/CHANGELOG index 48049da..25d1a6f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 -- cgit v0.10.2