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
8b95f81c
Commit
8b95f81c
authored
5 years ago
by
Paul Beesley
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Tegra: Extend NS address check error output" into integration
parents
b4c99a9c
055b7e91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/nvidia/tegra/common/tegra_bl31_setup.c
+2
-2
plat/nvidia/tegra/common/tegra_bl31_setup.c
with
2 additions
and
2 deletions
+2
-2
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
;
}
...
...
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