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
19b56cf4
Unverified
Commit
19b56cf4
authored
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1711 from antonio-nino-diaz-arm/an/fix-imx
tzc380: Fix some asserts
parents
36bc633e
df54406d
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
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/arm/tzc/tzc380.c
+3
-3
drivers/arm/tzc/tzc380.c
with
3 additions
and
3 deletions
+3
-3
drivers/arm/tzc/tzc380.c
View file @
19b56cf4
...
...
@@ -50,7 +50,7 @@ void tzc380_init(uintptr_t base)
{
unsigned
int
tzc_build
;
assert
(
base
!=
NULL
);
assert
(
base
!=
0U
);
tzc380
.
base
=
base
;
/* Save values we will use later. */
...
...
@@ -81,7 +81,7 @@ static uint32_t addr_high(uintptr_t addr __unused)
*/
void
tzc380_configure_region
(
uint8_t
region
,
uintptr_t
region_base
,
unsigned
int
attr
)
{
assert
(
tzc380
.
base
!=
NULL
);
assert
(
tzc380
.
base
!=
0U
);
assert
(
region
<
tzc380
.
num_regions
);
...
...
@@ -92,7 +92,7 @@ void tzc380_configure_region(uint8_t region, uintptr_t region_base, unsigned int
void
tzc380_set_action
(
tzc_action_t
action
)
{
assert
(
tzc380
.
base
!=
NULL
);
assert
(
tzc380
.
base
!=
0U
);
/*
* - Currently no handler is provided to trap an error via interrupt
...
...
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
Menu
Projects
Groups
Snippets
Help