ARM: rpi: only set usbethaddr on relevant systems
authorStephen Warren <swarren@wwwdotorg.org>
Sat, 6 Dec 2014 03:56:46 +0000 (20:56 -0700)
committerTom Rini <trini@ti.com>
Mon, 29 Dec 2014 21:31:22 +0000 (16:31 -0500)
commit3207d8fc9cc8fcc91d0dcc02890c7aaff48a6a27
treed9187ac56f3b4c1913a5e68f23ae4131fcfa9835
parent03ca6a394a00652305a10c95202f28b476c9f8d8
ARM: rpi: only set usbethaddr on relevant systems

Model A and CM RPis don't have an on-board USB Ethernet device. Hence,
there's no point setting $usbethaddr based on the device fuses. Use the
model detection code to gate this. Note that the fuses are actually
programmed even on those devices though.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
board/raspberrypi/rpi/rpi.c