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
3679240a
Commit
3679240a
authored
Oct 14, 2015
by
danh-arm
Browse files
Merge pull request #406 from sandrine-bailleux/sb/cci-init-fix-assertion
Fix debug assertion in deprecated CCI-400 driver
parents
6e9fa386
22b0eda5
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/arm/cci400/cci400.c
View file @
3679240a
...
@@ -48,14 +48,14 @@ void cci_init(uintptr_t cci_base,
...
@@ -48,14 +48,14 @@ void cci_init(uintptr_t cci_base,
/*
/*
* Check the passed arguments are valid. The cluster indices must be
* Check the passed arguments are valid. The cluster indices must be
* less than MAX_CLUSTERS, not the same as each other and at least one
* less than MAX_CLUSTERS, not the same as each other and at least one
* of them must
be
refer to a valid cluster index.
* of them must refer to a valid cluster index.
*/
*/
assert
(
cci_base
);
assert
(
cci_base
);
assert
(
slave_iface3_cluster_ix
<
MAX_CLUSTERS
);
assert
(
slave_iface3_cluster_ix
<
MAX_CLUSTERS
);
assert
(
slave_iface4_cluster_ix
<
MAX_CLUSTERS
);
assert
(
slave_iface4_cluster_ix
<
MAX_CLUSTERS
);
assert
(
slave_iface3_cluster_ix
!=
slave_iface4_cluster_ix
);
assert
(
slave_iface3_cluster_ix
!=
slave_iface4_cluster_ix
);
assert
((
slave_iface3_cluster_ix
>=
0
)
||
assert
((
slave_iface3_cluster_ix
>=
0
)
||
(
slave_iface
3
_cluster_ix
>=
0
));
(
slave_iface
4
_cluster_ix
>=
0
));
WARN
(
"Please migrate to common cci driver, This driver will be"
\
WARN
(
"Please migrate to common cci driver, This driver will be"
\
" deprecated in future
\n
"
);
" deprecated in future
\n
"
);
...
...
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