Tegra186: enable support for simulation environment
authorVarun Wadekar <vwadekar@nvidia.com>
Sat, 2 Apr 2016 22:41:20 +0000 (15:41 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 23 Mar 2017 21:20:15 +0000 (14:20 -0700)
commitabd3a91d6fed30be47bd47f9ecb914a5917f6784
tree629541a9e43b4cab8964df7af83fa5be7d500721
parent5cb89c563726c9efabd7bcd9392a29a9a2a825df
Tegra186: enable support for simulation environment

The Tegra simulation environment has limited capabilities. This patch
checks the chip's major and minor versions to decide the features to
enable/disable - MCE firmware version checking is disabled and limited
Memory Controller settings are enabled

Change-Id: I258a807cc3b83cdff14a9975b4ab4f9d1a9d7dcf
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c
plat/nvidia/tegra/include/t186/tegra_def.h
plat/nvidia/tegra/soc/t186/drivers/mce/mce.c