6b13f685e
김민수
BSP 최초 추가
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/*
* Copyright 2006 Freescale Semiconductor
* York Sun (yorksun@freescale.com)
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <command.h>
extern int do_mac(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
U_BOOT_CMD(
mac, 3, 1, do_mac,
"display and program the system ID and MAC addresses in EEPROM",
"[read|save|id|num|errata|date|ports|0|1|2|3|4|5|6|7]
"
"mac read
"
" - read EEPROM content into memory
"
"mac save
"
" - save to the EEPROM
"
"mac id
"
" - program system id
"
"mac num
"
" - program system serial number
"
"mac errata
"
" - program errata data
"
"mac date
"
" - program date
"
"mac ports
"
" - program the number of ports
"
"mac X
"
" - program the MAC address for port X [X=0...7]"
);
|