From 78da60773c4822b071f4b050910ee0fdda8c0b2b Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 6 Oct 2005 01:22:22 +0200 Subject: [PATCH] Complete support for the KwikByte KB920x boards Patch by Anders Larsen, 05 Oct 2005 --- CHANGELOG | 3 +++ cpu/arm920t/at91rm9200/i2c.c | 3 +-- include/configs/kb9202.h | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 48049dad92..25d1a6fb9b 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 569274082f..2565998e48 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 a5302429c6..6590f6f5f0 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 -- 2.25.1