]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: remove device tree parsing for cpu nodes
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 3 Jul 2013 15:01:42 +0000 (16:01 +0100)
committerSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Wed, 21 Aug 2013 09:29:52 +0000 (10:29 +0100)
commit650aa5a8c9c835f3d6c503ee06701ac3683dc641
treee9ff7df8618585eebb3c7712b671ff21ae535d53
parent1025b16788b42c4d8f222278e87f9cb4123c4131
ARM: mvebu: remove device tree parsing for cpu nodes

Currently set_secondary_cpus_clock assume the CPU logical ordering
and the MPDIR in DT are same, which is incorrect.

Since the CPU device nodes can be retrieved in the logical ordering
using the DT helper, we can remove the devices tree parsing.

This patch removes DT parsing by making use of of_get_cpu_node.

Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Jason Cooper <jason@lakedaemon.net>
Acked-by: Gregory Clement <gregory.clement@free-electrons.com>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
arch/arm/mach-mvebu/platsmp.c