diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-04-14 16:17:43 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-04-14 16:17:43 +0200 |
commit | 47050a39590ab4d6c6cdb7a0ac70a6c22985cfdf (patch) | |
tree | 479868b5ea99ac222cf854df637f95907d8562f9 | |
parent | c4c3c7449bdb15c53bfebb0a29c73b24ea810d23 (diff) |
ARM: tegra: hack to make IT parts operate like commercial temp for now
As NVIDIA so far was unable to provide us with any proper speedo
numbers for their industrial temperature aka IT parts just make SKU
0xB0 aka T30IQS-Ax behave identical to the regular commercial
temperature 0xB1 aka T30MQS-Ax for the SKU to speedo ID conversion.
This prevents them to fall back to fixed 600 MHz operation and crashing
thermal throttling once kicking in due to missing table entry causing a
null pointer exception.
-rw-r--r-- | arch/arm/mach-tegra/tegra3_speedo.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/tegra3_speedo.c b/arch/arm/mach-tegra/tegra3_speedo.c index 76303b4f1756..81958fbc9d73 100644 --- a/arch/arm/mach-tegra/tegra3_speedo.c +++ b/arch/arm/mach-tegra/tegra3_speedo.c @@ -198,6 +198,7 @@ static void rev_sku_to_speedo_ids(int rev, int sku) break; case 0x81: /* T30 */ + case 0xb0: /* T30IQS-Ax */ case 0xb1: /* T30MQS-Ax */ switch (package_id) { case 1: /* MID => T30 */ @@ -303,7 +304,6 @@ static void rev_sku_to_speedo_ids(int rev, int sku) break; case 0x91: /* T30AGS-Ax */ - case 0xb0: /* T30IQS-Ax */ case 0x90: /* T30AQS-Ax */ soc_speedo_id = 3; threshold_index = 12; @@ -472,9 +472,6 @@ void tegra_init_speedo_data(void) if (threshold_index == 12 && cpu_process_id != INVALID_PROCESS_ID) { if (cpu_process_id <= 2) { switch(fuse_sku) { - case 0xb0: - cpu_speedo_id = 9; - break; case 0x90: case 0x91: cpu_speedo_id = 14; @@ -483,9 +480,6 @@ void tegra_init_speedo_data(void) } } else if (cpu_process_id >= 3 && cpu_process_id < 6) { switch(fuse_sku) { - case 0xb0: - cpu_speedo_id = 10; - break; case 0x90: case 0x91: cpu_speedo_id = 15; |