From 055b7e91a26d503450d30adba47290f208dfde0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 16 Jun 2019 23:32:20 +0200 Subject: [PATCH] Tegra: Extend NS address check error output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let bl31_check_ns_address() print the address it doesn't like. Signed-off-by: Andreas Färber Change-Id: I29a4fb33c24e9f7464ccd2ea44a4608f5cfe5be6 --- plat/nvidia/tegra/common/tegra_bl31_setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/nvidia/tegra/common/tegra_bl31_setup.c b/plat/nvidia/tegra/common/tegra_bl31_setup.c index c9beb1426..4d406683c 100644 --- a/plat/nvidia/tegra/common/tegra_bl31_setup.c +++ b/plat/nvidia/tegra/common/tegra_bl31_setup.c @@ -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; }