u-boot/include
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
..
asm-arm Merge with http://www.denx.de/git/u-boot.git 2006-03-24 15:43:16 +01:00
asm-blackfin Coding Style cleanup 2006-03-12 02:55:22 +01:00
asm-i386 Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00
asm-m68k Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00
asm-microblaze Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00
asm-mips Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00
asm-nios Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00
asm-nios2 Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00
asm-ppc Enable PCIE1 for MPC8641HPCN board 2006-06-27 09:17:59 -05:00
bedbug * Code cleanup: 2003-06-27 21:31:46 +00:00
configs Add support for reading and writing mac addresses to or from ID EEPROM. 2006-07-13 10:57:37 -05:00
cramfs Add cramfs support for m68k 2005-09-25 16:59:36 +02:00
galileo * Code cleanup: 2003-06-27 21:31:46 +00:00
jffs2 Add common (with Linux) MTD partition scheme and "mtdparts" command 2005-08-08 01:03:24 +02:00
linux Remove dependencies between DoC code and old legacy NAND driver. 2006-04-05 20:46:41 +02:00
pcmcia Fix IDE stability problems on CPC45 board. 2005-01-22 18:26:04 +00:00
74xx_7xx.h * Patch by Ronen Shitrit, 10 Dec 2003: 2004-01-03 00:43:19 +00:00
405_dimm.h * Code cleanup: 2003-06-27 21:31:46 +00:00
405_mal.h Patch by Travis Sawyer, 30 Dec 2003: 2004-02-06 23:19:44 +00:00
405gp_i2c.h Initial revision 2002-04-01 19:07:39 +00:00
405gp_pci.h Initial revision 2002-04-01 14:29:03 +00:00
440_i2c.h Changed CONFIG_440_xx to CONFIG_440xx for a consistent design (405 and linux) 2005-08-08 12:42:22 +02:00
_exports.h Move TRAB burn-in tests to TRAB board directory 2003-09-12 15:35:15 +00:00
ACEX1K.h * Patch by Steven Scholz, 10 Oct 2003 2003-10-09 20:09:04 +00:00
altera.h * Patch by Steven Scholz, 10 Oct 2003 2003-10-09 20:09:04 +00:00
arm920t.h * Code cleanup: 2003-06-27 21:31:46 +00:00
arm925t.h Patches by Kshitij, 04 Jul 2003 2003-07-15 20:04:06 +00:00
arm926ejs.h * Patch by George G. Davis, 19 Aug 2003: 2003-08-29 22:00:43 +00:00
arm946es.h Add ARM946E cpu and core module targets; remap memory to 0x00000000 2005-09-25 01:48:28 +02:00
armcoremodule.h Update ARM Integrator boards: 2005-10-04 23:10:28 +02:00
at91rm9200_i2c.h Code Cleanup 2004-10-10 18:03:33 +00:00
at91rm9200_net.h * Move dm9161.c and lxt972.c into cpu/arm920t/at91rm9200 2005-10-05 01:51:29 +02:00
ata.h Code cleanup; make several boards compile & link. 2004-03-14 22:25:36 +00:00
bcm5221.h Add support for Cogent csb637 2005-10-05 02:00:09 +02:00
bmp_layout.h * Implement new mechanism to export U-Boot's functions to standalone 2003-07-24 23:38:38 +00:00
bmp_logo.h * Clean up tools/bmp_logo.c to not add trailing white space 2004-10-09 23:25:58 +00:00
bzlib.h * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
circbuf.h Add support for Siemens SX1 mobile phone; 2004-03-12 00:14:09 +00:00
clps7111.h Initial revision 2002-03-14 16:44:03 +00:00
cmd_confdefs.h Adjust "echo" as a default command 2006-03-12 16:51:59 +01:00
command.h * Patches by Pantelis Antoniou, 30 Mar 2004: 2004-04-15 18:22:41 +00:00
common.h Add support for reading and writing mac addresses to or from ID EEPROM. 2006-07-13 10:57:37 -05:00
commproc.h * Add comment about non-GPL character of standalone applications to 2004-09-27 20:20:11 +00:00
console.h Initial revision 2000-11-12 23:38:42 +00:00
crc.h Some code cleanup 2006-04-16 10:51:58 +02:00
da9030.h delta board: DA9030 initialization and i2c support. Some minor changes to 2006-03-24 12:23:27 +01:00
dataflash.h * Cleanup lowboot code for MPC5200 2004-01-02 14:00:00 +00:00
devices.h Add support for console over UDP (compatible to Ingo Molnar's 2004-08-02 21:11:11 +00:00
dm9161.h * Move dm9161.c and lxt972.c into cpu/arm920t/at91rm9200 2005-10-05 01:51:29 +02:00
dtt.h Patches by Murray Jensen, 17 Jun 2003: 2003-06-19 23:40:20 +00:00
e500.h Patch by Jon Loeliger, 16 Jul 2004: 2004-08-01 23:02:45 +00:00
elf.h * Fix parameter passing to standalone images with bootm command 2003-10-30 21:49:38 +00:00
environment.h Support for redundant environment in NAND Flash. 2006-03-20 18:02:44 +01:00
exports.h Add a common get_ram_size() function and modify the the 2004-01-06 22:38:14 +00:00
ext2fs.h ext2fs support added 2004-12-16 17:33:10 +00:00
fat.h * Modify KUP4X board configuration to use SL811 driver for USB memory 2004-04-23 20:32:05 +00:00
fdc.h * Code cleanup: 2003-06-27 21:31:46 +00:00
flash.h * Changes/fixes for drivers/cfi_flash.c: 2006-04-01 13:44:14 +02:00
fpga.h Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
ft_build.h Initial support for MPC8641 HPCN board. 2006-04-26 17:58:56 -05:00
hush.h Initial revision 2002-11-03 00:07:02 +00:00
i2c.h * Avoid flicker on the TRAB's VFD by synchronizing the enable with 2003-03-14 20:47:52 +00:00
i8042.h * Patch by Marc Singer, 29 May 2003: 2003-05-31 18:35:21 +00:00
ide.h Code cleanup; make several boards compile & link. 2004-03-14 22:25:36 +00:00
image.h Add ADI Blackfin support 2006-03-12 02:10:00 +01:00
ioports.h * Patch by Jon Loeliger, Kumar Gala 2005-02-08 2005-07-23 10:37:35 -05:00
keyboard.h [Strange. I _did_ check these in before. Seems SF restored an old 2004-01-16 00:30:56 +00:00
kgdb.h Initial revision 2002-08-27 10:38:37 +00:00
lcd.h * Patch by Detlev Zundel, 30 Jun 2005: 2005-07-04 00:03:16 +00:00
lcdvideo.h Initial revision 2001-11-03 22:15:16 +00:00
lh7a40x.h * Patch by Paul Ruhland, 10 Jun 2004: 2004-06-10 21:55:33 +00:00
lh7a400.h * Patch by Paul Ruhland, 10 Jun 2004: 2004-06-10 21:55:33 +00:00
lh7a404.h * Patch by Paul Ruhland, 10 Jun 2004: 2004-06-10 21:55:33 +00:00
linux_logo.h Initial revision 2002-09-17 21:37:55 +00:00
lists.h * Code cleanup: 2003-06-27 21:31:46 +00:00
logbuff.h * Improve log buffer code; use "loglevel" to decide which messages 2002-12-08 09:53:23 +00:00
lpd7a400_cpld.h * Patch by Paul Ruhland, 17 May 2004: 2004-06-09 13:37:52 +00:00
lxt971a.h Patches by Lars Munch, 12 Jul 2004: 2004-08-02 23:39:03 +00:00
lynxkdi.h * Patch by Scott McNutt, 21 Jul 2003: 2003-07-27 00:21:01 +00:00
malloc.h * Code cleanup: 2003-06-27 21:31:46 +00:00
mii_phy.h * Code cleanup: 2003-06-27 21:31:46 +00:00
miiphy.h Fix miiphy global data initialization (problem on 4xx boards when no 2005-11-30 18:06:04 +01:00
mk48t59.h Initial revision 2002-03-08 21:31:05 +00:00
mmc.h * Fix CONFIG_NET_MULTI support in include/net.h 2003-06-15 22:40:42 +00:00
mpc5xx.h * Patch by Denis Peter, 8 Dec 2003 2004-01-02 16:05:07 +00:00
mpc5xxx.h Set SDelay register in the DDR controller for the MPC5200B chip. 2006-03-29 13:17:09 +02:00
mpc8xx.h Patches by Pantelis Antoniou, 30 Mar 2004: 2004-04-15 21:31:56 +00:00
mpc8xx_irq.h Initial revision 2001-04-28 17:59:11 +00:00
mpc83xx.h Added support for TQM834x boards. 2005-10-11 19:09:42 +02:00
mpc85xx.h Add (some) definitions for the MPC85xx local bus controller 2006-03-12 22:45:47 +01:00
mpc86xx.h Cleanup whitespaces and style issues. 2006-04-27 10:15:16 -05:00
mpc106.h * Code cleanup: 2003-06-27 21:31:46 +00:00
mpc824x.h * Code cleanup 2004-08-01 22:48:16 +00:00
mpc8220.h Add PCI support for Sorcery board. 2005-05-16 15:23:22 +00:00
mpc8260.h * Patches by Pantelis Antoniou, 30 Mar 2004: 2004-04-15 18:22:41 +00:00
mpc8260_irq.h Patches by Murray Jensen, 17 Jun 2003: 2003-06-19 23:40:20 +00:00
nand.h Merge with /home/wd/git/u-boot/testing-NAND/ to add new NAND handling. 2006-02-24 09:37:22 +01:00
net.h Add support for multiple PHYs. 2005-10-28 22:30:33 +02:00
nios-io.h Patch by Scott McNutt, 25 Apr 2004: 2004-05-19 21:33:14 +00:00
nios.h * Patch by Scott McNutt, 04 Oct 2003: 2003-10-08 23:26:14 +00:00
nios2-epcs.h * Patch by Scott McNutt, 21 Oct 2004: 2005-03-30 23:28:18 +00:00
nios2-io.h * Patch by Scott McNutt, 21 Oct 2004: 2005-03-30 23:28:18 +00:00
nios2.h Patches by Scott McNutt, 24 Aug 2004: 2004-10-10 21:27:30 +00:00
ns7520_eth.h Add support for NetSilicon NS7520 processor. 2005-10-09 01:41:48 +02:00
ns9750_bbus.h * Patch by Markus Pietrek, 24 Feb 2004: 2004-02-26 23:46:20 +00:00
ns9750_eth.h Patches by Lars Munch, 12 Jul 2004: 2004-08-02 23:39:03 +00:00
ns9750_mem.h * Patch by Markus Pietrek, 24 Feb 2004: 2004-02-26 23:46:20 +00:00
ns9750_ser.h * Patch by Markus Pietrek, 24 Feb 2004: 2004-02-26 23:46:20 +00:00
ns9750_sys.h * Patch by Markus Pietrek, 24 Feb 2004: 2004-02-26 23:46:20 +00:00
ns16550.h Word alignment fixes for word aligned NS16550 UART 2006-03-12 01:21:19 +01:00
ns87308.h Initial revision 2002-04-01 14:29:03 +00:00
part.h * Cleanup, minor fixes 2004-04-18 17:39:38 +00:00
pc_keyb.h [Strange. I _did_ check these in before. Seems SF restored an old 2004-01-16 00:30:56 +00:00
pci.h Initial support for MPC8641 HPCN board. 2006-04-26 17:58:56 -05:00
pci_ids.h Change Id to symbolic name for RTL8139 2006-06-28 08:43:56 -05:00
pcmcia.h Add support for UC100 board 2004-12-18 22:35:43 +00:00
post.h Patch by Pantelis Antoniou, 5 May 2004: 2004-06-07 23:46:25 +00:00
ppc4xx.h * Code cleanup: 2003-06-27 21:31:46 +00:00
ppc4xx_enet.h Add support for AMCC 440SP, add support for AMCC Luan 440SP eval board. 2005-11-29 18:18:21 +01:00
ppc405.h Code cleanup. 2004-12-16 21:44:03 +00:00
ppc440.h Add support for AMCC 440SP, add support for AMCC Luan 440SP eval board. 2005-11-29 18:18:21 +01:00
ppc_asm.tmpl Patch by TsiChung Liew, 23 Sep 2004: 2004-10-28 00:09:35 +00:00
ppc_defs.h Initial revision 2000-07-19 14:09:16 +00:00
ps2mult.h * The PS/2 mux on the BMS2003 board needs 450 ms after power on 2004-01-20 23:12:12 +00:00
reiserfs.h Code cleanup 2004-03-25 15:14:43 +00:00
rtc.h Initial revision 2001-04-09 21:43:07 +00:00
s3c24x0.h * Code cleanup: 2003-06-27 21:31:46 +00:00
s3c2400.h * Code cleanup: 2003-06-27 21:31:46 +00:00
s3c2410.h * Patches by David Müller, 12 Jun 2003: 2003-06-19 23:01:32 +00:00
s_record.h Initial revision 2001-04-28 17:59:11 +00:00
SA-1100.h * Code cleanup: 2003-06-27 21:31:46 +00:00
sa1100.h Initial revision 2002-03-27 13:48:44 +00:00
scsi.h * Code cleanup: 2003-06-27 21:31:46 +00:00
sed156x.h * Patches by Pantelis Antoniou, 30 Mar 2004: 2004-04-15 21:16:42 +00:00
sed13806.h * Code cleanup: 2003-06-27 21:31:46 +00:00
serial.h * Patch by Leif Lindholm, 23 Sep 2004: 2005-01-09 22:28:56 +00:00
sm501.h Add SM501 support to HH405 board. 2005-09-22 09:04:17 +02:00
smiLynxEM.h * Code cleanup: 2003-06-27 21:31:46 +00:00
spartan2.h * Patch by Kurt Stremerch, 03 Sep 2004: 2005-01-09 17:19:34 +00:00
spartan3.h Add Xilinx Spartan3 family FPGA support 2005-09-25 16:44:21 +02:00
spd.h Fix style issues primarily in 85xx and 83xx boards. 2005-08-01 13:20:47 -05:00
spd_sdram.h Support for DDR with 32-data path. Addotional notes on injecting 2006-03-16 17:46:46 +01:00
spi.h Initial revision 2002-09-26 02:01:47 +00:00
status_led.h Add support for Silicon Turnkey eXpress XTc (mpc87x/88x) board. 2005-08-15 15:55:00 +02:00
sym53c8xx.h * Code cleanup: 2003-06-27 21:31:46 +00:00
systemace.h * CVS add missing files 2004-02-23 16:11:30 +00:00
universe.h Code cleanup. 2004-12-16 21:44:03 +00:00
usb.h Fix low-level OHCI transfers for ARM920t and MPC5xxx 2005-07-21 11:57:57 +02:00
usb_defs.h Remove unnecessary defines from usb_defs.h again. 2005-08-02 15:08:46 +02:00
usbdcore.h Add support for Siemens SX1 mobile phone; 2004-03-12 00:14:09 +00:00
usbdcore_ep0.h Add support for Siemens SX1 mobile phone; 2004-03-12 00:14:09 +00:00
usbdcore_omap1510.h Add support for Siemens SX1 mobile phone; 2004-03-12 00:14:09 +00:00
usbdescriptors.h Add support for Siemens SX1 mobile phone; 2004-03-12 00:14:09 +00:00
version.h Add GIT version information (commid ID) to untagged U-Boot versions 2006-02-21 17:33:04 +01:00
vfd_logo.h * Add support for arbitrary bitmaps for TRAB's VFD command 2003-05-20 20:49:01 +00:00
video.h Initial revision 2001-11-03 22:21:15 +00:00
video_ad7176.h * Patches by Yuli Barcohen, 13 Jul 2003: 2003-07-14 22:13:32 +00:00
video_ad7177.h * Patches by Yuli Barcohen, 13 Jul 2003: 2003-07-14 22:13:32 +00:00
video_ad7179.h * Add support for IceCube board (with MGT5100 and MPC5200 CPUs) 2003-07-16 21:53:01 +00:00
video_easylogo.h Initial revision 2001-11-03 22:21:15 +00:00
video_fb.h * Code cleanup: 2003-06-27 21:31:46 +00:00
video_font.h Initial revision 2000-10-25 11:24:22 +00:00
video_logo.h Initial revision 2002-11-03 00:38:21 +00:00
virtex2.h Initial revision 2002-11-03 00:24:07 +00:00
w83c553f.h Initial revision 2002-03-08 21:31:05 +00:00
watchdog.h Cleanup (PPC4xx is AMCC now) 2005-09-23 11:05:55 +02:00
xilinx.h Add Xilinx Spartan3 family FPGA support 2005-09-25 16:44:21 +02:00
xyzModem.h Some code cleanup 2006-04-16 10:51:58 +02:00
zlib.h * Code cleanup: 2003-06-27 21:31:46 +00:00