summaryrefslogtreecommitdiff
path: root/common/cmd_mac.c
diff options
context:
space:
mode:
authorMichael Jones <michael.jones@matrix-vision.de>2011-07-14 22:09:31 +0000
committerWolfgang Denk <wd@denx.de>2011-07-28 16:41:06 +0200
commit191c0b87b19e5bbb9caf25cd7e2e80ab5cc8cb86 (patch)
treea151a36198bef941f2b92461f2ab8533a4bbaa1c /common/cmd_mac.c
parent6a33a3c2c9794de38514ae8d6c4f09107a5253a7 (diff)
cmd_mac: fix help for 'mac read'
In the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into memory. Displaying the contents of the EEPROM is done by passing no arguments to 'mac'. Signed-off-by: Michael Jones <michael.jones@matrix-vision.de> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'common/cmd_mac.c')
-rw-r--r--common/cmd_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mac.c b/common/cmd_mac.c
index 0f924b7059a..fcc2867b7d4 100644
--- a/common/cmd_mac.c
+++ b/common/cmd_mac.c
@@ -31,7 +31,7 @@ U_BOOT_CMD(
"display and program the system ID and MAC addresses in EEPROM",
"[read|save|id|num|errata|date|ports|0|1|2|3|4|5|6|7]\n"
"mac read\n"
- " - show content of EEPROM\n"
+ " - read EEPROM content into memory\n"
"mac save\n"
" - save to the EEPROM\n"
"mac id\n"