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
ea680338
Commit
ea680338
authored
5 years ago
by
John Tsichritzis
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Apply compile-time check for AArch64-only cores" into integration
parents
47b098bb
629d04f5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
lib/cpus/aarch64/cortex_a76.S
+5
-0
lib/cpus/aarch64/cortex_a76.S
lib/cpus/aarch64/cortex_a76ae.S
+5
-0
lib/cpus/aarch64/cortex_a76ae.S
lib/cpus/aarch64/cortex_deimos.S
+5
-0
lib/cpus/aarch64/cortex_deimos.S
lib/cpus/aarch64/neoverse_e1.S
+5
-0
lib/cpus/aarch64/neoverse_e1.S
lib/cpus/aarch64/neoverse_n1.S
+5
-0
lib/cpus/aarch64/neoverse_n1.S
lib/cpus/aarch64/neoverse_zeus.S
+5
-0
lib/cpus/aarch64/neoverse_zeus.S
plat/arm/board/fvp/platform.mk
+15
-10
plat/arm/board/fvp/platform.mk
with
45 additions
and
10 deletions
+45
-10
lib/cpus/aarch64/cortex_a76.S
View file @
ea680338
...
...
@@ -18,6 +18,11 @@
#error "Cortex-A76 must be compiled with HW_ASSISTED_COHERENCY enabled"
#endif
/*
64-
bit
only
core
*/
#if CTX_INCLUDE_AARCH32_REGS == 1
#error "Cortex-A76 supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0"
#endif
#define ESR_EL3_A64_SMC0 0x5e000000
#define ESR_EL3_A32_SMC0 0x4e000000
...
...
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/cortex_a76ae.S
View file @
ea680338
...
...
@@ -11,6 +11,11 @@
/*
Hardware
handled
coherency
*/
#if HW_ASSISTED_COHERENCY == 0
#error "Cortex-A76AE must be compiled with HW_ASSISTED_COHERENCY enabled"
#endif
/*
64-
bit
only
core
*/
#if CTX_INCLUDE_AARCH32_REGS == 1
#error "Cortex-A76AE supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0"
#endif
/
*
---------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/cortex_deimos.S
View file @
ea680338
...
...
@@ -14,6 +14,11 @@
/*
Hardware
handled
coherency
*/
#if HW_ASSISTED_COHERENCY == 0
#error "Deimos must be compiled with HW_ASSISTED_COHERENCY enabled"
#endif
/*
64-
bit
only
core
*/
#if CTX_INCLUDE_AARCH32_REGS == 1
#error "Cortex-Deimos supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0"
#endif
/
*
---------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/neoverse_e1.S
View file @
ea680338
...
...
@@ -16,6 +16,11 @@
#error "Neoverse E1 must be compiled with HW_ASSISTED_COHERENCY enabled"
#endif
/*
64-
bit
only
core
*/
#if CTX_INCLUDE_AARCH32_REGS == 1
#error "Neoverse-E1 supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0"
#endif
func
neoverse_e1_cpu_pwr_dwn
mrs
x0
,
NEOVERSE_E1_CPUPWRCTLR_EL1
orr
x0
,
x0
,
#
NEOVERSE_E1_CPUPWRCTLR_EL1_CORE_PWRDN_BIT
...
...
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/neoverse_n1.S
View file @
ea680338
...
...
@@ -15,6 +15,11 @@
#error "Neoverse N1 must be compiled with HW_ASSISTED_COHERENCY enabled"
#endif
/*
64-
bit
only
core
*/
#if CTX_INCLUDE_AARCH32_REGS == 1
#error "Neoverse-N1 supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0"
#endif
/*
--------------------------------------------------
*
Errata
Workaround
for
Neoverse
N1
Errata
*
This
applies
to
revision
r0p0
and
r1p0
of
Neoverse
N1
.
...
...
This diff is collapsed.
Click to expand it.
lib/cpus/aarch64/neoverse_zeus.S
View file @
ea680338
...
...
@@ -14,6 +14,11 @@
/*
Hardware
handled
coherency
*/
#if HW_ASSISTED_COHERENCY == 0
#error "Neoverse Zeus must be compiled with HW_ASSISTED_COHERENCY enabled"
#endif
/*
64-
bit
only
core
*/
#if CTX_INCLUDE_AARCH32_REGS == 1
#error "Neoverse-Zeus supports only AArch64. Compile with CTX_INCLUDE_AARCH32_REGS=0"
#endif
/
*
---------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp/platform.mk
View file @
ea680338
...
...
@@ -96,8 +96,8 @@ FVP_CPU_LIBS := lib/cpus/${ARCH}/aem_generic.S
ifeq
(${ARCH}, aarch64)
# select a different set of CPU files, depending on whether we compile
with
# hardware assisted coherency co
nfiguration
s or not
# select a different set of CPU files, depending on whether we compile
for
# hardware assisted coherency co
re
s or not
ifeq
(${HW_ASSISTED_COHERENCY}, 0)
FVP_CPU_LIBS
+=
lib/cpus/aarch64/cortex_a35.S
\
lib/cpus/aarch64/cortex_a53.S
\
...
...
@@ -105,14 +105,19 @@ ifeq (${HW_ASSISTED_COHERENCY}, 0)
lib/cpus/aarch64/cortex_a72.S
\
lib/cpus/aarch64/cortex_a73.S
else
FVP_CPU_LIBS
+=
lib/cpus/aarch64/cortex_a55.S
\
lib/cpus/aarch64/cortex_a75.S
\
lib/cpus/aarch64/cortex_a76.S
\
lib/cpus/aarch64/cortex_a76ae.S
\
lib/cpus/aarch64/neoverse_n1.S
\
lib/cpus/aarch64/neoverse_e1.S
\
lib/cpus/aarch64/cortex_deimos.S
\
lib/cpus/aarch64/neoverse_zeus.S
# AArch64-only cores
ifeq
(${CTX_INCLUDE_AARCH32_REGS}, 0)
FVP_CPU_LIBS
+=
lib/cpus/aarch64/cortex_a76.S
\
lib/cpus/aarch64/cortex_a76ae.S
\
lib/cpus/aarch64/neoverse_n1.S
\
lib/cpus/aarch64/neoverse_e1.S
\
lib/cpus/aarch64/cortex_deimos.S
\
lib/cpus/aarch64/neoverse_zeus.S
# AArch64/AArch32
else
FVP_CPU_LIBS
+=
lib/cpus/aarch64/cortex_a55.S
\
lib/cpus/aarch64/cortex_a75.S
endif
endif
else
...
...
This diff is collapsed.
Click to expand it.
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