diff options
author | Stefan Roese <sr@denx.de> | 2006-06-13 18:55:07 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-06-13 18:55:07 +0200 |
commit | ed4633c93a01220431b9bf8a69dcaed7b3894023 (patch) | |
tree | 907be5a2e637227fa0d2456864a2302b5e2f4ad2 | |
parent | b1d71358a9448802a08bc822b78debe9f754eae7 (diff) | |
download | u-boot-ed4633c93a01220431b9bf8a69dcaed7b3894023.tar.gz u-boot-ed4633c93a01220431b9bf8a69dcaed7b3894023.tar.xz u-boot-ed4633c93a01220431b9bf8a69dcaed7b3894023.zip |
Minor cleanup for PCS440EP board
Patch by Stefan Roese, 13 Jun 2006
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | cpu/ppc4xx/spd_sdram.c | 2 | ||||
-rw-r--r-- | include/configs/pcs440ep.h | 8 |
3 files changed, 8 insertions, 5 deletions
@@ -2,6 +2,9 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Minor cleanup for PCS440EP board + Patch by Stefan Roese, 13 Jun 2006 + * Add MCF5282 support (without preloader) relocate ichache_State to ram u-boot can run from internal flash diff --git a/cpu/ppc4xx/spd_sdram.c b/cpu/ppc4xx/spd_sdram.c index ebd5f3998f..c0a6933b84 100644 --- a/cpu/ppc4xx/spd_sdram.c +++ b/cpu/ppc4xx/spd_sdram.c @@ -745,7 +745,7 @@ long int spd_sdram(void) { */ check_volt_type(dimm_populated, iic0_dimm_addr, num_dimm_banks); -#if defined(CONFIG_440GX) +#if defined(CONFIG_440GX) || defined(CONFIG_440EP) || defined(CONFIG_440GR) || defined(CONFIG_440SP) /* * Soft-reset SDRAM controller. */ diff --git a/include/configs/pcs440ep.h b/include/configs/pcs440ep.h index 64bbca301e..50c1c4fd4c 100644 --- a/include/configs/pcs440ep.h +++ b/include/configs/pcs440ep.h @@ -116,18 +116,17 @@ *----------------------------------------------------------------------*/ #define CONFIG_SPD_EEPROM /* Use SPD EEPROM for setup */ #undef CONFIG_DDR_ECC /* don't use ECC */ -#define SPD_EEPROM_ADDRESS {0x50, 0x51} +#define SPD_EEPROM_ADDRESS {0x50} /*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ #define CONFIG_HARD_I2C 1 /* I2C with hardware support */ #undef CONFIG_SOFT_I2C /* I2C bit-banged */ -#define CFG_I2C_SPEED 400000 /* I2C speed and slave address */ +#define CFG_I2C_SPEED 100000 /* I2C speed and slave address */ #define CFG_I2C_SLAVE 0x7F -#define CFG_I2C_MULTI_EEPROMS -#define CFG_I2C_EEPROM_ADDR (0xa8>>1) +#define CFG_I2C_EEPROM_ADDR (0xa4>>1) #define CFG_I2C_EEPROM_ADDR_LEN 1 #define CFG_EEPROM_PAGE_WRITE_ENABLE #define CFG_EEPROM_PAGE_WRITE_BITS 3 @@ -211,6 +210,7 @@ CFG_CMD_ASKENV | \ CFG_CMD_DHCP | \ CFG_CMD_DIAG | \ + CFG_CMD_EEPROM | \ CFG_CMD_ELF | \ CFG_CMD_I2C | \ CFG_CMD_IRQ | \ |