diff --git a/CHANGELOG b/CHANGELOG index e53b7c50070480ce747a98884faac7b13952c05b..cca8f5827eaed90cc4f94430167b6ce2f776fd9a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,11 +2,17 @@ Changes for U-Boot 1.1.3: ====================================================================== +* Fixes for TQM8560 board: + - fix clock rates + - remove debug messages + - fix flash sector protection + * Patch by Steven Scholz, 07 Apr 2005: Add i2c_reg_write() and i2c_reg_write() for at91rm9200 I2C -* Patch by Steven Scholz, 07 Apr 2005: +* Patches by Steven Scholz, 07 Apr 2005: Fix compiler warning in altera.c + Fix warning in cpu/arm920t/at91rm9200/i2c.c * Patch by Ladislav Michl, 06 Apr 2005: Fix voiceblue configuration. diff --git a/README b/README index 5b7df7613d80ce32394db35613f3c375fcc519a2..c1441fb2bbd63f158617f8dfd0cf84584b6b5e51 100644 --- a/README +++ b/README @@ -3081,8 +3081,7 @@ Booting assumes that (the first part of) the image booted is a stage-2 loader which in turn loads and then invokes the kernel proper. Loader sources will eventually appear in the NetBSD source tree (probably in sys/arc/mpc8xx/stand/u-boot_stage2/); in the -meantime, send mail to bruno@exet-ag.de and/or wd@denx.de for -details. +meantime, see ftp://ftp.denx.de/pub/u-boot/ppcboot_stage2.tar.gz Implementation Internals: diff --git a/cpu/arm920t/at91rm9200/i2c.c b/cpu/arm920t/at91rm9200/i2c.c index 274327548b4fc8696c83b33629e5bb59805b8f38..569274082f2afbe3e5ef86daefed4abac8b3116a 100644 --- a/cpu/arm920t/at91rm9200/i2c.c +++ b/cpu/arm920t/at91rm9200/i2c.c @@ -138,12 +138,12 @@ i2c_read (unsigned char chip, unsigned int addr, int alen, int i2c_write(unsigned char chip, unsigned int addr, int alen, - unsigned char *buffer, int len) + unsigned char *buffer, int len) { +#ifdef CFG_I2C_EEPROM_ADDR_OVERFLOW int i; unsigned char *buf; -#ifdef CFG_I2C_EEPROM_ADDR_OVERFLOW /* we only allow one address byte */ if (alen > 1) return 1; diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c index fe678dfa63a21866709508670f701bef490a1635..4a1ccb05ba89306504af50ace775032e43e52447 100644 --- a/cpu/mpc85xx/cpu.c +++ b/cpu/mpc85xx/cpu.c @@ -145,7 +145,7 @@ unsigned long get_tbclk (void) sys_info_t sys_info; get_sys_info(&sys_info); - return ((sys_info.freqSystemBus + 3L) / 4L); + return ((sys_info.freqSystemBus + 7L) / 8L); } diff --git a/cpu/mpc85xx/ether_fcc.c b/cpu/mpc85xx/ether_fcc.c index f78e5b4d7a67b7c162a8b5d03c1fb527264c9a61..c2f88f83dd2fdc2bc64c1e1d4b53ddf9bb09edfd 100644 --- a/cpu/mpc85xx/ether_fcc.c +++ b/cpu/mpc85xx/ether_fcc.c @@ -135,7 +135,7 @@ static RTXBD rtx __attribute__ ((aligned(8))); #error "rtx must be 64-bit aligned" #endif -#define ET_DEBUG +#undef ET_DEBUG static int fec_send(struct eth_device* dev, volatile void *packet, int length) { diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index 101eb7491364f93cff062eb18985a5ab9a5c65e4..2531e9da86bd8ac08bcada1e387cf490bc791b32 100644 --- a/drivers/cfi_flash.c +++ b/drivers/cfi_flash.c @@ -48,6 +48,7 @@ #include <asm/processor.h> #include <asm/byteorder.h> #include <linux/byteorder/swab.h> +#include <environment.h> #ifdef CFG_FLASH_CFI_DRIVER /*