diff options
author | Danny Huang <dahuang@nvidia.com> | 2012-11-15 08:42:33 +0100 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-11-15 22:34:20 +0100 |
commit | 25cd5a391478b1e29ef7de172b3bd612159a07cc (patch) | |
tree | 3dd124908a55cba2427cf0b7a6c1637c14ce8d81 /arch/arm/mach-tegra/fuse.h | |
parent | ARM: tegra: flexible spare fuse read function (diff) | |
download | linux-25cd5a391478b1e29ef7de172b3bd612159a07cc.tar.xz linux-25cd5a391478b1e29ef7de172b3bd612159a07cc.zip |
ARM: tegra: Add speedo-based process identification
Detect CPU and core process ID by checking speedo corner tables.
This can provide a more accurate process ID.
Signed-off-by: Danny Huang <dahuang@nvidia.com>
[swarren s/Tegra2/Tegra20/ in log print]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/fuse.h')
-rw-r--r-- | arch/arm/mach-tegra/fuse.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h index aef12231e559..7347c8818937 100644 --- a/arch/arm/mach-tegra/fuse.h +++ b/arch/arm/mach-tegra/fuse.h @@ -42,6 +42,7 @@ extern int tegra_sku_id; extern int tegra_cpu_process_id; extern int tegra_core_process_id; extern int tegra_chip_id; +extern int tegra_soc_speedo_id; extern enum tegra_revision tegra_revision; extern int tegra_bct_strapping; @@ -51,4 +52,10 @@ void tegra_init_fuse(void); bool tegra_spare_fuse(int bit); u32 tegra_fuse_readl(unsigned long offset); +#ifdef CONFIG_ARCH_TEGRA_2x_SOC +void tegra20_init_speedo_data(void); +#else +static inline void tegra20_init_speedo_data(void) {} +#endif + #endif |