Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
541d7881
Commit
541d7881
authored
10 years ago
by
danh-arm
Browse files
Options
Download
Plain Diff
Merge pull request #269 from vikramkanigiri/vk/common-cci
Common driver for ARM cache coherent Interconnects
parents
27bc0106
4991ecdc
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-rc0
v1.3
v1.3_rc2
v1.3_rc1
v1.3-rc0
v1.2
v1.2-rc0
v1.1-Juno-0.1
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
23
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
plat/juno/juno_private.h
+1
-0
plat/juno/juno_private.h
plat/juno/plat_pm.c
+3
-4
plat/juno/plat_pm.c
plat/juno/platform.mk
+2
-2
plat/juno/platform.mk
with
6 additions
and
6 deletions
+6
-6
plat/juno/juno_private.h
View file @
541d7881
...
...
@@ -154,6 +154,7 @@ unsigned long plat_get_ns_image_entrypoint(void);
unsigned
long
platform_get_stack
(
unsigned
long
mpidr
);
uint64_t
plat_get_syscnt_freq
(
void
);
void
plat_gic_init
(
void
);
void
plat_cci_init
(
void
);
/* Declarations for plat_topology.c */
int
plat_setup_topology
(
void
);
...
...
This diff is collapsed.
Click to expand it.
plat/juno/plat_pm.c
View file @
541d7881
...
...
@@ -31,8 +31,8 @@
#include <assert.h>
#include <arch_helpers.h>
#include <arm_gic.h>
#include <cci.h>
#include <debug.h>
#include <cci400.h>
#include <errno.h>
#include <platform.h>
#include <platform_def.h>
...
...
@@ -159,8 +159,7 @@ void juno_affinst_on_finish(uint32_t afflvl, uint32_t state)
* if this cluster was off.
*/
if
(
afflvl
!=
MPIDR_AFFLVL0
)
cci_enable_cluster_coherency
(
mpidr
);
cci_enable_snoop_dvm_reqs
(
MPIDR_AFFLVL1_VAL
(
mpidr
));
/* Enable the gic cpu interface */
arm_gic_cpuif_setup
();
...
...
@@ -187,7 +186,7 @@ static void juno_power_down_common(uint32_t afflvl)
/* Cluster is to be turned off, so disable coherency */
if
(
afflvl
>
MPIDR_AFFLVL0
)
{
cci_disable_
cluster_coherency
(
read_mpidr
_el1
());
cci_disable_
snoop_dvm_reqs
(
MPIDR_AFFLVL1_VAL
(
read_mpidr
(
)
));
cluster_state
=
scpi_power_off
;
}
...
...
This diff is collapsed.
Click to expand it.
plat/juno/platform.mk
View file @
541d7881
...
...
@@ -56,7 +56,7 @@ PLAT_BL_COMMON_SOURCES := drivers/arm/pl011/pl011_console.S \
plat/common/plat_gic.c
\
plat/juno/plat_io_storage.c
BL1_SOURCES
+=
drivers/arm/cci
400
/cci
400
.c
\
BL1_SOURCES
+=
drivers/arm/cci/cci.c
\
lib/cpus/aarch64/cortex_a53.S
\
lib/cpus/aarch64/cortex_a57.S
\
plat/common/aarch64/platform_up_stack.S
\
...
...
@@ -75,7 +75,7 @@ BL2_SOURCES += drivers/arm/tzc400/tzc400.c \
plat/juno/scp_bootloader.c
\
plat/juno/scpi.c
BL31_SOURCES
+=
drivers/arm/cci
400
/cci
400
.c
\
BL31_SOURCES
+=
drivers/arm/cci/cci.c
\
drivers/arm/gic/arm_gic.c
\
drivers/arm/gic/gic_v2.c
\
drivers/arm/gic/gic_v3.c
\
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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
Menu
Projects
Groups
Snippets
Help