aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_mac.c
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2008-01-16 17:12:12 -0500
committerJon Loeliger <jdl@freescale.com>2008-01-17 12:26:56 -0600
commitd59feffb42c9f174116db7a82a311df98983dfce (patch)
tree479be43f12a4588b50ac6871234cb51b25fae175 /common/cmd_mac.c
parent6bee764bd6da510a4aad614880300c968bc7318d (diff)
FSL: Fix common EEPROM_data structure definition
- Fix EEPROM_data structure definition according to System EEPROM Data Format. - Read MAC addresses from EEPROM to ethXaddr before saving ethXaddr to bd->bi_ethaddr. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Diffstat (limited to 'common/cmd_mac.c')
-rw-r--r--common/cmd_mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_mac.c b/common/cmd_mac.c
index 0add43285..faed8f763 100644
--- a/common/cmd_mac.c
+++ b/common/cmd_mac.c
@@ -33,7 +33,7 @@ U_BOOT_CMD(
"mac - display and program the system ID and MAC addresses in EEPROM\n",
"[read|save|id|num|errata|date|ports|0|1|2|3|4|5|6|7]\n"
"read\n"
- " - show content of mac\n"
+ " - show content of EEPROM\n"
"mac save\n"
" - save to the EEPROM\n"
"mac id\n"
@@ -43,7 +43,7 @@ U_BOOT_CMD(
"mac errata\n"
" - program errata data\n"
"mac date\n"
- " - program data date\n"
+ " - program date\n"
"mac ports\n"
" - program the number of ports\n"
"mac 0\n"