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
f1f99f3a
Commit
f1f99f3a
authored
Jun 19, 2015
by
danh-arm
Browse files
Merge pull request #322 from athoelke/at/fix-bl1-assertions
Fix incorrect assertions in bl1_main()
parents
08b337f5
354ab57d
Changes
1
Show whitespace changes
Inline
Side-by-side
bl1/bl1_main.c
View file @
f1f99f3a
...
...
@@ -126,9 +126,9 @@ void bl1_main(void)
* Ensure that MMU/Caches and coherency are turned on
*/
val
=
read_sctlr_el3
();
assert
(
val
|
SCTLR_M_BIT
);
assert
(
val
|
SCTLR_C_BIT
);
assert
(
val
|
SCTLR_I_BIT
);
assert
(
val
&
SCTLR_M_BIT
);
assert
(
val
&
SCTLR_C_BIT
);
assert
(
val
&
SCTLR_I_BIT
);
/*
* Check that Cache Writeback Granule (CWG) in CTR_EL0 matches the
* provided platform value
...
...
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