Tegra: pmc: helper function to find last ON CPU
authorVarun Wadekar <vwadekar@nvidia.com>
Wed, 14 Feb 2018 04:22:19 +0000 (20:22 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 31 Jan 2019 16:48:00 +0000 (08:48 -0800)
commita7a63e0ee5db9b53f666ea0d7bf83d95ea04bd14
tree49833a3c99635a259a4fe4e884cdfea464c266cf
parent1d11f73e581bfbe9945a298ab1c4fd5ff261f6e7
Tegra: pmc: helper function to find last ON CPU

This patch adds a helper function to find the last standing CPU
in a cluster.

Change-Id: Id018f1958f458c772c7b0c52af8ddf7532b1cec5
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/pmc/pmc.c
plat/nvidia/tegra/include/drivers/pmc.h