aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2017-11-07 08:50:55 -0800
committerVarun Wadekar <vwadekar@nvidia.com>2019-11-28 11:14:21 -0800
commitac2cc6b091c34ba0a0d63ae5c8c8ee2f235fa7a1 (patch)
treed8adecca85e053afcef6bab5b6e735c7294fb450 /plat
parent4b412b507a1648e00fb68b06b8cbe88ac9239317 (diff)
downloadplatform_external_arm-trusted-firmware-ac2cc6b091c34ba0a0d63ae5c8c8ee2f235fa7a1.tar.gz
platform_external_arm-trusted-firmware-ac2cc6b091c34ba0a0d63ae5c8c8ee2f235fa7a1.tar.bz2
platform_external_arm-trusted-firmware-ac2cc6b091c34ba0a0d63ae5c8c8ee2f235fa7a1.zip
Tegra194: mce: display NVG header version during boot
The MCE driver checks the NVG interface version during boot and disaplys the hardware and software versions on the console. The software version is being displayed as zero. This patch updates the prints to use the real NVG header version instead. Change-Id: I8e9d2e6c43a59a8a6d5ca7aa8153b940fce86709 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/nvidia/tegra/soc/t194/drivers/mce/mce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/nvidia/tegra/soc/t194/drivers/mce/mce.c b/plat/nvidia/tegra/soc/t194/drivers/mce/mce.c
index f6edd58ad..8c7854e9c 100644
--- a/plat/nvidia/tegra/soc/t194/drivers/mce/mce.c
+++ b/plat/nvidia/tegra/soc/t194/drivers/mce/mce.c
@@ -167,8 +167,8 @@ void mce_verify_firmware_version(void)
minor = (uint32_t)version;
major = (uint32_t)(version >> 32);
- INFO("MCE Version - HW=%d:%d, SW=%d:%d\n", major, minor,
- 0, 0);
+ INFO("MCE Version - HW=%u:%u, SW=%u:%u\n", major, minor,
+ TEGRA_NVG_VERSION_MAJOR, TEGRA_NVG_VERSION_MINOR);
/*
* Verify that the MCE firmware version and the interface header