From 4fb71eae31a5a0c66c173facb2fdc145098b5d6e Mon Sep 17 00:00:00 2001
From: Rohit Khanna <rokhanna@nvidia.com>
Date: Fri, 3 Mar 2017 11:33:32 -0800
Subject: [PATCH] Tegra194: Dont run MCE firmware on Emulation

Dont run MCE firmware on pre-silicon emulation platforms

Change-Id: I2a8d653e46f494621580ca92271a18e62f648859
Signed-off-by: Rohit Khanna <rokhanna@nvidia.com>
---
 plat/nvidia/tegra/soc/t194/drivers/mce/mce.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plat/nvidia/tegra/soc/t194/drivers/mce/mce.c b/plat/nvidia/tegra/soc/t194/drivers/mce/mce.c
index 4754b77c5..f13643fc0 100644
--- a/plat/nvidia/tegra/soc/t194/drivers/mce/mce.c
+++ b/plat/nvidia/tegra/soc/t194/drivers/mce/mce.c
@@ -216,7 +216,8 @@ void mce_verify_firmware_version(void)
 	 * MCE firmware is not running on simulation platforms.
 	 */
 	if ((tegra_platform_is_linsim() == 1U) ||
-			(tegra_platform_is_virt_dev_kit() == 1U)) {
+		(tegra_platform_is_virt_dev_kit() == 1U) ||
+		(tegra_platform_is_qt() == 1U)) {
 		return;
 	}
 
-- 
GitLab