Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
9caf7e36
Commit
9caf7e36
authored
Aug 12, 2015
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/nvidia/tegra/include/platform_def.h
View file @
9caf7e36
...
...
@@ -48,10 +48,10 @@
#define TEGRA_PRIMARY_CPU 0x0
#define PLATFORM_MAX_AFFLVL MPIDR_AFFLVL2
#define PLATFORM_CORE_COUNT PLATFORM_
MAX_
C
P
US
_P
ER_C
LUSTER
#define
PLATFORM_
NUM_AFFS ((PLATFORM_CLUSTER_COUNT * \
PLATFORM_CORE_COUNT
)
+ \
PLATFORM_CLUSTER_COUNT + 1)
#define PLATFORM_CORE_COUNT
(
PLATFORM_C
L
US
T
ER_C
OUNT * \
PLATFORM_
MAX_CPUS_PER_CLUSTER)
#define PLATFORM_NUM_AFFS (
PLATFORM_CORE_COUNT + \
PLATFORM_CLUSTER_COUNT + 1)
/*******************************************************************************
* Platform console related constants
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment