[FOSS_TLK]platform: tegra: use TARGET to check for rollback enable
Scott Long [Tue, 3 Mar 2015 08:26:01 +0000 (00:26 -0800)]
TARGET_TEGRA_VERSION is not passed thru the LK makefile flow
so use TARGET instead when looking for rollback enable.

Change-Id: I79fb63e1b791c92d98f8012ec0400a74794dec49
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: http://git-master/r/715786
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

platform/tegra/rules.mk

index 994b794..4379be7 100644 (file)
@@ -66,7 +66,7 @@ else
 endif
 
 # Enable storage rollback protection for desired devices.
-ifeq ($(filter t210,$(TARGET_TEGRA_VERSION)), $(TARGET_TEGRA_VERSION))
+ifeq ($(filter t210,$(TARGET)), $(TARGET))
        WITH_ROLLBACK_PROTECTION := 1
 else
        WITH_ROLLBACK_PROTECTION := 0