diff options
author | Joe Hershberger | 2015-05-04 14:55:14 -0500 |
---|---|---|
committer | Joe Hershberger | 2015-05-19 13:33:21 -0500 |
commit | 92ac520821405e196c920d60921bdfa5ab6b878c (patch) | |
tree | 64331eefb4a40a516281e4c9938c40953781c6bf /examples | |
parent | bef1014b31c5b33052bcaa865ba3618d73e906f0 (diff) | |
download | u-boot-92ac520821405e196c920d60921bdfa5ab6b878c.tar.gz u-boot-92ac520821405e196c920d60921bdfa5ab6b878c.tar.xz u-boot-92ac520821405e196c920d60921bdfa5ab6b878c.zip |
net: Remove all references to CONFIG_ETHADDR and friends
We really don't want boards defining fixed MAC addresses in their config
so we just remove the option to set it in a fixed way. If you must have
a MAC address that was not provisioned, then use the random MAC address
functionality.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/standalone/README.smc91111_eeprom | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/examples/standalone/README.smc91111_eeprom b/examples/standalone/README.smc91111_eeprom index a2d52e7770..f73a8d3a58 100644 --- a/examples/standalone/README.smc91111_eeprom +++ b/examples/standalone/README.smc91111_eeprom | |||
@@ -27,29 +27,6 @@ To find out who has a MAC address, or to purchase MAC addresses, goto | |||
27 | the IEEE, at: | 27 | the IEEE, at: |
28 | http://standards.ieee.org/regauth/oui/index.shtml | 28 | http://standards.ieee.org/regauth/oui/index.shtml |
29 | 29 | ||
30 | To change your MAC address, there can not be a MAC address predefined in | ||
31 | U-Boot. To ensure that this does not occur, check your | ||
32 | include/configs/<board_name>.h file, and check to see that the following | ||
33 | settings are _not_ or commented out there. | ||
34 | |||
35 | #define HARDCODE_MAC 1 | ||
36 | #define CONFIG_ETHADDR 02:80:ad:20:31:b8 | ||
37 | |||
38 | The purpose of HARDCODE_MAC is to hardcode the MAC address in software, | ||
39 | (not what we want), or to preset it to 02:80:ad:20:31:b8 (not what we | ||
40 | want either). | ||
41 | |||
42 | You can check this in a running U-Boot, by doing a power cycle, then | ||
43 | before U-Boot tries to do any networking, running the 'printenv' command | ||
44 | |||
45 | BOOT> printenv | ||
46 | |||
47 | ethaddr=02:80:ad:20:31:b8 | ||
48 | |||
49 | If you see the 'ethaddr' variable show up, like the above, you need to | ||
50 | recompile U-Boot, with the above settings commented out of the | ||
51 | include/configs/<board_name>.h file. | ||
52 | |||
53 | 2. Running the smc91111_eeprom program | 30 | 2. Running the smc91111_eeprom program |
54 | --------------------------------------------------------------------- | 31 | --------------------------------------------------------------------- |
55 | 32 | ||