]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: Factor out common psci_get_cpu_id
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 21 Apr 2015 05:18:26 +0000 (07:18 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:24:13 +0000 (09:24 -0700)
commit680f396851b7153f7f4243e1cc8875558b678add
treea21e82f7e291391764c1ce5d58de208c3d84b1a6
parent104d6fb6cd064c4c9278e5b6fdf99ac025597753
ARM: Factor out common psci_get_cpu_id

Will be required for obtaining the ID of the current CPU in shared PSCI
functions. The default implementation requires a dense ID space and only
supports a single cluster. Therefore, the functions can be overloaded in
cases where these assumptions do not hold.

CC: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/psci.S
arch/arm/cpu/armv7/sunxi/psci.S