Tegra: fix PLATFORM_{CORE_COUNT|NUM_AFFS} macros
authorVarun Wadekar <vwadekar@nvidia.com>
Wed, 12 Aug 2015 03:54:50 +0000 (09:24 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 12 Aug 2015 03:54:50 +0000 (09:24 +0530)
commit43ec35ee755f402840c56505bdf240d354dd9a29
tree3227bc3fb6e55710e2ca1d0aa07f47480d18c3c9
parentaaa0567c38ea6f08d68ce64210800b51a8872c13
Tegra: fix PLATFORM_{CORE_COUNT|NUM_AFFS} macros

This patch fixes the following macros for Tegra SoCs.

* PLATFORM_CORE_COUNT: PLATFORM_CLUSTER_COUNT * PLATFORM_MAX_CPUS_PER_CLUSTER
* PLATFORM_NUM_AFFS: PLATFORM_CORE_COUNT + PLATFORM_CLUSTER_COUNT + 1

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/include/platform_def.h