aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-06-23 15:49:17 -0700
committerColin Cross <ccross@android.com>2010-10-21 18:12:09 -0700
commit73625e3e2e2bc36198f5b43e0f32d9dfb8e3b77c (patch)
tree14cadc153b0d27de39b06d5afe6ff7fac7fab853 /arch/arm/mach-tegra/common.c
parent2e47b8b3c2dc0f9f0651ee0f20e163da09b20fb9 (diff)
downloadmrst-s0i3-test-73625e3e2e2bc36198f5b43e0f32d9dfb8e3b77c.tar.gz
mrst-s0i3-test-73625e3e2e2bc36198f5b43e0f32d9dfb8e3b77c.tar.xz
mrst-s0i3-test-73625e3e2e2bc36198f5b43e0f32d9dfb8e3b77c.zip
[ARM] tegra: Add support for reading fuses
The Tegra SOC contains fuses to identify the CPU type and bin, and a unique id. The CPU info is required to determine the correct voltages for each cpu and core frequency. Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r--arch/arm/mach-tegra/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 039a514b61e..9aedaf77013 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -26,6 +26,7 @@
#include "board.h"
#include "clock.h"
+#include "fuse.h"
static __initdata struct tegra_clk_init_table common_clk_init_table[] = {
/* name parent rate enabled */
@@ -55,6 +56,7 @@ void __init tegra_init_cache(void)
void __init tegra_common_init(void)
{
+ tegra_init_fuse();
tegra_init_clock();
tegra_clk_init_from_table(common_clk_init_table);
tegra_init_cache();