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
c478ff5d
Commit
c478ff5d
authored
11 years ago
by
Jon Medhurst
Committed by
Sandrine Bailleux
11 years ago
Browse files
Options
Download
Email Patches
Plain Diff
juno: Port CCI
Signed-off-by:
Jon Medhurst
<
tixy@linaro.org
>
parent
4c47d98a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plat/juno/bl1_plat_setup.c
+1
-6
plat/juno/bl1_plat_setup.c
plat/juno/platform.h
+2
-2
plat/juno/platform.h
with
3 additions
and
8 deletions
+3
-8
plat/juno/bl1_plat_setup.c
View file @
c478ff5d
...
...
@@ -123,17 +123,12 @@ void bl1_platform_setup(void)
******************************************************************************/
void
bl1_plat_arch_setup
(
void
)
{
unsigned
long
cci_setup
;
/*
* Enable CCI-400 for this cluster. No need
* for locks as no other cpu is active at the
* moment
*/
cci_setup
=
platform_get_cfgvar
(
CONFIG_HAS_CCI
);
if
(
cci_setup
)
{
cci_enable_coherency
(
read_mpidr
());
}
cci_enable_coherency
(
read_mpidr
());
configure_mmu
(
&
bl1_tzram_layout
,
TZROM_BASE
,
...
...
This diff is collapsed.
Click to expand it.
plat/juno/platform.h
View file @
c478ff5d
...
...
@@ -160,8 +160,8 @@
* CCI-400 related constants
******************************************************************************/
#define CCI400_BASE 0x2c090000
#define CCI400_SL_IFACE_CLUSTER0
3
#define CCI400_SL_IFACE_CLUSTER1
4
#define CCI400_SL_IFACE_CLUSTER0
4
#define CCI400_SL_IFACE_CLUSTER1
3
#define CCI400_SL_IFACE_INDEX(mpidr) (mpidr & MPIDR_CLUSTER_MASK ? \
CCI400_SL_IFACE_CLUSTER1 : \
CCI400_SL_IFACE_CLUSTER0)
...
...
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