2 * Copyright 2006 Freescale Semiconductor
3 * York Sun (yorksun@freescale.com)
5 * SPDX-License-Identifier: GPL-2.0+
11 extern int do_mac(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
15 "display and program the system ID and MAC addresses in EEPROM",
16 "[read|save|id|num|errata|date|ports|port_number]\n"
18 " - read EEPROM content into memory data structure\n"
20 " - save memory data structure to the EEPROM\n"
22 " - program system id per hard coded value\n"
24 " - program system serial number to value string\n"
26 " - program errata data to value string\n"
27 "mac date YYMMDDhhmmss\n"
28 " - program date to string value YYMMDDhhmmss\n"
30 " - program the number of network ports to integer N\n"
32 " - program MAC addr for port X [X=0,1..] to colon separated string"