]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_eeprom.c
compiler.h: unify system ifdef cruft here
[karo-tx-uboot.git] / common / cmd_eeprom.c
index e598bf1ec43540102caec79328729b2a5a60bbd5..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)
@@ -428,7 +424,7 @@ U_BOOT_CMD(
        "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(
@@ -436,7 +432,7 @@ U_BOOT_CMD(
        "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 */