Haiying Wang
bea3f28d28
Add support for reading and writing mac addresses to or from ID EEPROM.
...
Added code for reading and writing Mac addresses to/from ID EEPROM(0x57).
With attached patch, we can use command "mac/mac read/mac save/"
to read and write EEPROM under u-boot prompt.
U-boot will calculate the checksum of EEPROM while bootup,
if it is right, then u-boot will check whether the mac address
of eTSEC0/1/2/3 is availalbe (non-zero).
If there is mac address availabe in EEPROM, u-boot will use it,
otherewise, u-boot will use the mac address defined in
MPC8641HPCN.h. This matches the requirement to set unique mac address
for each TSEC port.
Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
2006-07-13 10:57:37 -05:00
..
2004-02-27 00:07:27 +00:00
2005-04-07 22:36:40 +00:00
2003-06-27 21:31:46 +00:00
2004-03-12 00:14:09 +00:00
2005-10-05 00:25:17 +02:00
2005-10-13 16:45:02 +02:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2005-10-08 10:19:07 +02:00
2006-05-26 10:01:16 -05:00
2006-07-13 10:35:10 -05:00
2003-07-01 21:06:45 +00:00
2004-06-09 12:42:26 +00:00
2006-03-31 18:32:53 +02:00
2005-09-23 11:05:55 +02:00
2004-03-23 22:14:11 +00:00
2005-08-30 13:04:12 +02:00
2006-04-05 20:46:41 +02:00
2003-07-01 21:06:45 +00:00
2005-09-22 09:04:17 +02:00
2006-03-31 18:32:53 +02:00
2005-10-17 00:19:16 +02:00
2004-08-28 21:09:14 +00:00
2006-03-12 01:59:35 +01:00
2003-10-06 21:55:32 +00:00
2006-04-11 14:39:21 +02:00
2005-10-13 16:45:02 +02:00
2005-10-13 16:45:02 +02:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2004-06-09 12:42:26 +00:00
2006-03-05 18:57:33 +01:00
2006-04-16 10:51:58 +02:00
2006-03-31 18:32:53 +02:00
2006-07-13 10:57:37 -05:00
2005-10-13 16:45:02 +02:00
2005-10-28 22:30:33 +02:00
2005-10-20 16:36:44 +02:00
2003-07-01 21:06:45 +00:00
2006-03-12 01:59:35 +01:00
2005-04-05 23:32:21 +00:00
2006-03-31 18:32:53 +02:00
2005-03-20 22:33:46 +00:00
2005-10-13 16:45:02 +02:00
2003-07-01 21:06:45 +00:00
2004-07-11 20:04:51 +00:00
2005-03-04 11:27:31 +00:00
2005-10-13 16:45:02 +02:00
2005-10-13 16:45:02 +02:00
2005-05-03 06:06:41 +00:00
2005-10-13 16:45:02 +02:00
2003-11-17 21:14:37 +00:00
2004-06-09 10:15:00 +00:00
2006-03-12 16:51:59 +01:00
2006-03-31 18:32:53 +02:00
2006-04-16 10:51:58 +02:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2003-06-27 21:31:46 +00:00
2004-07-11 20:04:51 +00:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2005-08-03 22:32:02 +02:00
2006-03-31 18:32:53 +02:00
2005-10-15 18:23:43 +02:00
2005-10-13 16:45:02 +02:00
2006-04-26 17:58:56 -05:00
2006-03-31 18:32:53 +02:00
2005-10-13 16:45:02 +02:00
2006-03-31 18:32:53 +02:00
2002-08-17 09:36:01 +00:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2006-07-13 10:57:37 -05:00
2004-01-06 22:38:14 +00:00
2005-10-28 22:30:33 +02:00
2005-11-30 18:06:04 +01:00
2002-08-17 09:36:01 +00:00
2006-03-31 18:32:53 +02:00
2006-03-31 18:32:53 +02:00
2003-06-27 21:31:46 +00:00
2004-02-27 00:07:27 +00:00
2005-09-25 18:49:35 +02:00
2003-06-27 21:31:46 +00:00
2005-10-13 16:45:02 +02:00
2005-08-04 01:14:12 +02:00
2005-09-25 00:53:22 +02:00
2005-10-13 16:45:02 +02:00
2006-04-16 10:51:58 +02:00