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
19b56cf4
Unverified
Commit
19b56cf4
authored
Dec 05, 2018
by
Antonio Niño Díaz
Committed by
GitHub
Dec 05, 2018
Browse files
Merge pull request #1711 from antonio-nino-diaz-arm/an/fix-imx
tzc380: Fix some asserts
parents
36bc633e
df54406d
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
...
...
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