Tegra: Extend NS address check error output

Let bl31_check_ns_address() print the address it doesn't like.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Change-Id: I29a4fb33c24e9f7464ccd2ea44a4608f5cfe5be6
This commit is contained in:
Andreas Färber 2019-06-16 23:32:20 +02:00
parent 9dc24cbdc6
commit 055b7e91a2
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}