summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-06-24 00:49:17 +0200
committerColin Cross <ccross@android.com>2010-10-22 03:12:09 +0200
commit73625e3e2e2bc36198f5b43e0f32d9dfb8e3b77c (patch)
tree14cadc153b0d27de39b06d5afe6ff7fac7fab853 /arch/arm/mach-tegra/common.c
parent[ARM] tegra: gpio: Add suspend and wake support (diff)
downloadlinux-73625e3e2e2bc36198f5b43e0f32d9dfb8e3b77c.tar.xz
linux-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 039a514b61ef..9aedaf77013c 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();