From 82685ba23c803d10f678f25e92ca62aa575d24d9 Mon Sep 17 00:00:00 2001 From: Shreshtha Sahu Date: Fri, 22 Nov 2013 12:11:10 +0530 Subject: ARM: tegra: make SKU 0x81 same as 0xB1 for tegra3 SKU 0x81 is identical to 0xB1 so same can be used for sku to speedo ID conversion. Bug 1313434 Change-Id: I63f08522878524a05c2a6fb0a82fee90a59a99bd Signed-off-by: Shreshtha Sahu Reviewed-on: http://git-master/r/334396 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty Reviewed-by: Matthew Pedro --- arch/arm/mach-tegra/tegra3_speedo.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-tegra/tegra3_speedo.c b/arch/arm/mach-tegra/tegra3_speedo.c index 2889f656f47a..b91135c5634d 100644 --- a/arch/arm/mach-tegra/tegra3_speedo.c +++ b/arch/arm/mach-tegra/tegra3_speedo.c @@ -1,7 +1,7 @@ /* * arch/arm/mach-tegra/tegra3_speedo.c * - * Copyright (c) 2011-2012, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2011-2013, NVIDIA Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -198,6 +198,7 @@ static void rev_sku_to_speedo_ids(int rev, int sku) break; case 0x81: /* T30 */ + case 0xb1: switch (package_id) { case 1: /* MID => T30 */ cpu_speedo_id = 2; @@ -303,7 +304,6 @@ static void rev_sku_to_speedo_ids(int rev, int sku) case 0x91: /* T30AGS-Ax */ case 0xb0: /* T30IQS-Ax */ - case 0xb1: /* T30MQS-Ax */ case 0x90: /* T30AQS-Ax */ soc_speedo_id = 3; threshold_index = 12; @@ -473,7 +473,6 @@ void tegra_init_speedo_data(void) if (cpu_process_id <= 2) { switch(fuse_sku) { case 0xb0: - case 0xb1: cpu_speedo_id = 9; break; case 0x90: @@ -485,7 +484,6 @@ void tegra_init_speedo_data(void) } else if (cpu_process_id >= 3 && cpu_process_id < 6) { switch(fuse_sku) { case 0xb0: - case 0xb1: cpu_speedo_id = 10; break; case 0x90: -- cgit v1.2.3