u-boot/board/mpc8641hpcn
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
..
config.mk Review cleanups. 2006-05-31 14:01:32 -05:00
init.S Review cleanups. 2006-05-31 14:01:32 -05:00
Makefile Add support for reading and writing mac addresses to or from ID EEPROM. 2006-07-13 10:57:37 -05:00
mpc8641hpcn.c Fix bug in 8641hpcn reset command with no args. 2006-06-22 08:51:46 -05:00
oftree.dts Reworked IRQ mapping in OF-tree. 2006-06-22 08:31:21 -05:00
pixis.c Move mpc86xx PIXIS code to board directory 2006-05-31 09:49:33 -05:00
pixis.h Move mpc86xx PIXIS code to board directory 2006-05-31 09:49:33 -05:00
sys_eeprom.c Add support for reading and writing mac addresses to or from ID EEPROM. 2006-07-13 10:57:37 -05:00
u-boot.lds Review cleanups. 2006-05-31 14:01:32 -05:00