Tegra: memctrl_v2: remove usage of ENABLE_SMMU_DEVICE config
authorVarun Wadekar <vwadekar@nvidia.com>
Thu, 30 Nov 2017 01:14:24 +0000 (17:14 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 23 Jan 2019 18:33:11 +0000 (10:33 -0800)
This patch removes the usage of this platform config, as it is always
enabled by all the supported platforms.

Change-Id: Ie7adb641adeb3604b177b6960b797722d60addfa
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c
plat/nvidia/tegra/soc/t186/platform_t186.mk

index 15314e7228e01de25bbb5d9a27483d1624546eb7..a3ef5e13137640c321ed90e4a4f98aebbabd776b 100644 (file)
@@ -51,10 +51,9 @@ void tegra_memctrl_setup(void)
 
        INFO("Tegra Memory Controller (v2)\n");
 
-#if ENABLE_SMMU_DEVICE
        /* Program the SMMU pagesize */
        tegra_smmu_init();
-#endif
+
        /* Get the settings from the platform */
        assert(plat_mc_settings != NULL);
        mc_streamid_override_regs = plat_mc_settings->streamid_override_cfg;
index 643443529e62cf85fed58421e95a516107335589..d486af2d57f7f649922680ea66c3c2bc34444bbf 100644 (file)
@@ -17,9 +17,6 @@ $(eval $(call add_define,RELOCATE_TO_BL31_BASE))
 ENABLE_CHIP_VERIFICATION_HARNESS       := 0
 $(eval $(call add_define,ENABLE_CHIP_VERIFICATION_HARNESS))
 
-ENABLE_SMMU_DEVICE                     := 1
-$(eval $(call add_define,ENABLE_SMMU_DEVICE))
-
 RESET_TO_BL31                          := 1
 
 PROGRAMMABLE_RESET_ADDRESS             := 1