]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 7 Mar 2016 10:49:58 +0000 (11:49 +0100)
commit2df408774a653d4839e336e43e321a19567eadaa
tree38be12d85824718cc39a5d06aa2e5932b2298fb0
parent910f65e9b70e12c1d50b935def5ce07b8362bb1e
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