MIPS: Octeon: device_tree_init: don't fill mac if already set
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 23 Feb 2016 22:52:06 +0000 (00:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:42 +0000 (14:01 +0200)
commit377de399a1ad191b1c67aca99cfbc65061639f07
tree5eb9e9ebf2af18ce63fa11c9bb056da0467db182
parent43349b9e4bb008a2fb7e92de53fe2aa1ccf8ea24
MIPS: Octeon: device_tree_init: don't fill mac if already set

Don't fill MAC address if it's already set. This allows DTB to
override the bootinfo.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12589/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon-platform.c