From: Sebastian Hesselbarth Date: Mon, 7 Oct 2013 20:25:11 +0000 (+0200) Subject: ARM: kirkwood: retain MAC address for DT ethernet X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~51^2~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd7d3ab50f960e780e7c825a42b5cb6e21ee376;p=pandora-kernel.git ARM: kirkwood: retain MAC address for DT ethernet Ethernet IP on Kirkwood SoCs loose their MAC address register content if clock gated. To allow modular ethernet driver setups and gated clocks also on non-DT capable bootloaders, we fixup port device nodes with no valid MAC address property. This patch copies MAC address register contents set up by bootloaders early, notably before ethernet clocks are gated. While at it, also reorder call sequence in _dt_init. Signed-off-by: Sebastian Hesselbarth Reviewed-by: Jason Gunthorpe Reviewed-by: Ezequiel Garcia Reviewed-by: Mike Turquette Tested-by: Andrew Lunn Signed-off-by: Jason Cooper --- Reading git-diff-tree failed