diff options
Diffstat (limited to 'common/cmd_eeprom.c')
| -rw-r--r-- | common/cmd_eeprom.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c index 2451bef74..e598bf1ec 100644 --- a/common/cmd_eeprom.c +++ b/common/cmd_eeprom.c @@ -104,7 +104,7 @@ int do_eeprom ( cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])  		}  	} -	printf ("Usage:\n%s\n", cmdtp->usage); +	cmd_usage(cmdtp);  	return 1;  }  #endif @@ -425,7 +425,7 @@ 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" @@ -433,7 +433,7 @@ U_BOOT_CMD(  #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" |