summaryrefslogtreecommitdiff
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-10-07 22:25:11 +0200
committerJason Cooper <jason@lakedaemon.net>2013-10-08 16:59:21 +0000
commitebd7d3ab50f960e780e7c825a42b5cb6e21ee376 (patch)
treebc397ae5e8ba5095fef1b2ae5a8c9b8fd7249a75 /mm/sparse.c
parent3839c08d3ae44cf39b26eecefdae07f7b2443e7e (diff)
downloadlinux-rt-ebd7d3ab50f960e780e7c825a42b5cb6e21ee376.tar.gz
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 <sebastian.hesselbarth@gmail.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Reviewed-by: Mike Turquette <mturquette@linaro.org> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions