ARM: tegra: actmon: Update for t148
Alex Waterman [Wed, 16 Jan 2013 00:04:09 +0000 (16:04 -0800)]
Update the EMC actmon device struct for t148's single channel
EMC. The count weight needs to be the same as T30, not T114, for
T148.

Change-Id: I9aedf274be6b7f93be4f91287c24e536a54a59cd
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/191475
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

arch/arm/mach-tegra/tegra3_actmon.c

index e7f48ab..79c544d 100644 (file)
@@ -508,7 +508,7 @@ static struct actmon_dev actmon_dev_emc = {
        .up_wmark_window        = 1,
        .down_wmark_window      = 3,
        .avg_window_log2        = ACTMON_DEFAULT_AVG_WINDOW_LOG2,
-#if defined(CONFIG_ARCH_TEGRA_3x_SOC)
+#if defined(CONFIG_ARCH_TEGRA_3x_SOC) || defined(CONFIG_ARCH_TEGRA_14x_SOC)
        .count_weight           = 0x200,
 #else
        .count_weight           = 0x100,