diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2018-07-26 15:48:56 +1200 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@bootlin.com> | 2018-09-24 17:15:24 +0200 |
commit | 3972863aad8919fd8ec5527ea560abed285edd40 (patch) | |
tree | 68d430da14216f4a905d1b41e7e64ea43f388c93 /Documentation/devicetree/bindings/net | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | blackbird-obmc-linux-3972863aad8919fd8ec5527ea560abed285edd40.tar.gz blackbird-obmc-linux-3972863aad8919fd8ec5527ea560abed285edd40.zip |
ARM: mvebu: use dt_fixup to provide fallback for enable-method
We need to maintain backwards compatibility with device trees that don't
define an enable method. At the same time we want the device tree to be
able to specify an enable-method and have it stick.
Previously by having smp assigned in the DT_MACHINE definition this
would be picked up by setup_arch() and override whatever
arm_dt_init_cpu_maps() had configured. Now we move the initial
assignment of default smp_ops to a dt_fixup and let
arm_dt_init_cpu_maps() override that if the device tree defines an
enable-method.
[olof@lixom.net: Wrap set_smp_ops() in CONFIG_SMP.]
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com> (on AX3)
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
0 files changed, 0 insertions, 0 deletions