]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_eeprom.c
mpc85xx, mpc86xx: Fix gd->cpu pointer after relocation
[u-boot] / common / cmd_eeprom.c
index c59227d6049335ad94ec4c9dc0b8bd5e432e18f4..102efaf5b66e758f5415bfdbe50c7e588ca9809b 100644 (file)
@@ -401,10 +401,6 @@ eeprom_probe (unsigned dev_addr, unsigned offset)
 #define        CONFIG_SYS_I2C_SPEED    50000
 #endif
 
-#ifndef        CONFIG_SYS_I2C_SLAVE
-#define        CONFIG_SYS_I2C_SLAVE    0xFE
-#endif
-
 void eeprom_init  (void)
 {
 #if defined(CONFIG_SPI)
@@ -425,18 +421,18 @@ void eeprom_init  (void)
 #ifdef CONFIG_SYS_I2C_MULTI_EEPROMS
 U_BOOT_CMD(
        eeprom, 6,      1,      do_eeprom,
-       "eeprom  - EEPROM sub-system\n",
+       "EEPROM sub-system",
        "read  devaddr addr off cnt\n"
        "eeprom write devaddr addr off cnt\n"
-       "       - read/write `cnt' bytes from `devaddr` EEPROM at offset `off'\n"
+       "       - read/write `cnt' bytes from `devaddr` EEPROM at offset `off'"
 );
 #else /* One EEPROM */
 U_BOOT_CMD(
        eeprom, 5,      1,      do_eeprom,
-       "eeprom  - EEPROM sub-system\n",
+       "EEPROM sub-system",
        "read  addr off cnt\n"
        "eeprom write addr off cnt\n"
-       "       - read/write `cnt' bytes at EEPROM offset `off'\n"
+       "       - read/write `cnt' bytes at EEPROM offset `off'"
 );
 #endif /* CONFIG_SYS_I2C_MULTI_EEPROMS */