AmigaOneG3SE/enet: get mac address from environment
authorMike Frysinger <vapier@gentoo.org>
Wed, 11 Feb 2009 23:36:45 +0000 (18:36 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:39:10 +0000 (22:39 +0100)
commit06a0c4381a65ed500c816a05b9ae7b207c3b1d4b
treeca60353c3adf97ef8de953f1ec7e940623213498
parent56b555a644f3cbb1b3929cb52b61d3ce483885f5
AmigaOneG3SE/enet: get mac address from environment

Always use the MAC address that is stored in the environment first before
falling back to the ROM.  This also cuts out any comparison steps: if the
mac in the env is sane, the ROM is never consulted.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Thomas Frieden <ThomasF@hyperion-entertainment.com>
CC: Ben Warren <biggerbadderben@gmail.com>
board/MAI/AmigaOneG3SE/enet.c