diff options
author | Sebastian Hesselbarth <[email protected]> | 2013-10-07 22:25:11 +0200 |
---|---|---|
committer | Jason Cooper <[email protected]> | 2013-10-08 16:59:21 +0000 |
commit | ebd7d3ab50f960e780e7c825a42b5cb6e21ee376 (patch) | |
tree | bc397ae5e8ba5095fef1b2ae5a8c9b8fd7249a75 /lib/string_helpers.c | |
parent | 3839c08d3ae44cf39b26eecefdae07f7b2443e7e (diff) |
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 <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
Reviewed-by: Mike Turquette <[email protected]>
Tested-by: Andrew Lunn <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions