Upon further discussion on the mailing list, we should not get in the
situation where the generic code path to set ethaddr/etc correctly does
not work. Revert this until someone can further debug the smc911x
driver regarding this issue.
This reverts commit
387cbf096e443705fa66776027273ed257ec6ca3.
Signed-off-by: Tom Rini <trini@konsulko.com>
*/
#include <common.h>
-#include <env.h>
#include <command.h>
#include <malloc.h>
#include <net.h>
smc911x_set_mac_csr(priv, ADDRH, addrh);
printf(DRIVERNAME ": MAC %pM\n", m);
- if (!env_get("ethaddr"))
- env_set("ethaddr", (const char *)m);
}
static bool smc911x_read_mac_address(struct smc911x_priv *priv)