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
8b95f81c
Commit
8b95f81c
authored
Jun 27, 2019
by
Paul Beesley
Committed by
TrustedFirmware Code Review
Jun 27, 2019
Browse files
Merge "Tegra: Extend NS address check error output" into integration
parents
b4c99a9c
055b7e91
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/nvidia/tegra/common/tegra_bl31_setup.c
View file @
8b95f81c
...
...
@@ -470,7 +470,7 @@ int32_t bl31_check_ns_address(uint64_t base, uint64_t size_in_bytes)
if
((
base
<
TEGRA_DRAM_BASE
)
||
(
base
>=
TEGRA_DRAM_END
)
||
(
end
>
TEGRA_DRAM_END
))
{
ERROR
(
"NS address is out-of-bounds!
\n
"
);
ERROR
(
"NS address
0x%llx
is out-of-bounds!
\n
"
,
base
);
ret
=
-
EFAULT
;
}
...
...
@@ -479,7 +479,7 @@ int32_t bl31_check_ns_address(uint64_t base, uint64_t size_in_bytes)
* to check if the NS DRAM range overlaps the TZDRAM aperture.
*/
if
((
base
<
(
uint64_t
)
TZDRAM_END
)
&&
(
end
>
tegra_bl31_phys_base
))
{
ERROR
(
"NS address overlaps TZDRAM!
\n
"
);
ERROR
(
"NS address
0x%llx
overlaps TZDRAM!
\n
"
,
base
);
ret
=
-
ENOTSUP
;
}
...
...
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