Commit 9caf7e36 authored by danh-arm's avatar danh-arm
Browse files

Merge pull request #360 from vwadekar/tegra-platform-def-v2

Tegra: fix PLATFORM_{MAX_AFFLVL|CORE_COUNT|NUM_AFFS} macros
parents dcd9338d 43ec35ee
...@@ -48,10 +48,10 @@ ...@@ -48,10 +48,10 @@
#define TEGRA_PRIMARY_CPU 0x0 #define TEGRA_PRIMARY_CPU 0x0
#define PLATFORM_MAX_AFFLVL MPIDR_AFFLVL2 #define PLATFORM_MAX_AFFLVL MPIDR_AFFLVL2
#define PLATFORM_CORE_COUNT PLATFORM_MAX_CPUS_PER_CLUSTER #define PLATFORM_CORE_COUNT (PLATFORM_CLUSTER_COUNT * \
#define PLATFORM_NUM_AFFS ((PLATFORM_CLUSTER_COUNT * \ PLATFORM_MAX_CPUS_PER_CLUSTER)
PLATFORM_CORE_COUNT) + \ #define PLATFORM_NUM_AFFS (PLATFORM_CORE_COUNT + \
PLATFORM_CLUSTER_COUNT + 1) PLATFORM_CLUSTER_COUNT + 1)
/******************************************************************************* /*******************************************************************************
* Platform console related constants * Platform console related constants
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment