aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Hershberger2015-05-04 14:55:14 -0500
committerJoe Hershberger2015-05-19 13:33:21 -0500
commit92ac520821405e196c920d60921bdfa5ab6b878c (patch)
tree64331eefb4a40a516281e4c9938c40953781c6bf /examples
parentbef1014b31c5b33052bcaa865ba3618d73e906f0 (diff)
downloadu-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_eeprom23
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
27the IEEE, at: 27the IEEE, at:
28http://standards.ieee.org/regauth/oui/index.shtml 28http://standards.ieee.org/regauth/oui/index.shtml
29 29
30To change your MAC address, there can not be a MAC address predefined in
31U-Boot. To ensure that this does not occur, check your
32include/configs/<board_name>.h file, and check to see that the following
33settings are _not_ or commented out there.
34
35#define HARDCODE_MAC 1
36#define CONFIG_ETHADDR 02:80:ad:20:31:b8
37
38The 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
40want either).
41
42You can check this in a running U-Boot, by doing a power cycle, then
43before 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
49If you see the 'ethaddr' variable show up, like the above, you need to
50recompile U-Boot, with the above settings commented out of the
51include/configs/<board_name>.h file.
52
532. Running the smc91111_eeprom program 302. Running the smc91111_eeprom program
54--------------------------------------------------------------------- 31---------------------------------------------------------------------
55 32