forked from Minki/linux
ebd7d3ab50
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> |
||
---|---|---|
.. | ||
include/mach | ||
board-dt.c | ||
board-mv88f6281gtw_ge.c | ||
common.c | ||
common.h | ||
d2net_v2-setup.c | ||
irq.c | ||
Kconfig | ||
lacie_v2-common.c | ||
lacie_v2-common.h | ||
Makefile | ||
Makefile.boot | ||
mpp.c | ||
mpp.h | ||
netxbig_v2-setup.c | ||
openrd-setup.c | ||
pcie.c | ||
pm.c | ||
rd88f6192-nas-setup.c | ||
rd88f6281-setup.c | ||
t5325-setup.c | ||
ts41x-setup.c | ||
ts219-setup.c | ||
tsx1x-common.c | ||
tsx1x-common.h |