
Wolfgang Denk wd@denx.de schreibt:
Sorry, does not apply any more (how many times has this patch been submitted? 5? 6? more? Each a bit different? This is a nightmare.)
Hi Wolfgang,
I've submitted this particular patch three times - back in april, (at your request) on 2005-08-24, and one day later as part of a discussion of the patch.
I appreciate your efforts and the immense difficulties in handling a pile of interdependent patches; it would make life easier all of us if we could find a way to remove/update/replace pending patches; despite the (requested) resend of updated patches you applied the original versions :-(
Can git help here?
Please check current git tree and resubmit what is needed.
Only a few lines were missing, see below.
Cheers Anders
Signed-off-by: Anders Larsen alarsen@rea.de
CHANGELOG: Patch by Anders Larsen alarsen@rea.de, 2005-10-05 Complete support for the KwikByte KB920x boards
---
cpu/arm920t/at91rm9200/i2c.c | 3 +-- include/configs/kb9202.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/cpu/arm920t/at91rm9200/i2c.c b/cpu/arm920t/at91rm9200/i2c.c --- a/cpu/arm920t/at91rm9200/i2c.c +++ b/cpu/arm920t/at91rm9200/i2c.c @@ -65,9 +65,8 @@ at91_xfer(unsigned char chip, unsigned i | ((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 --- 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