2 * arch/arm/mach-tegra/fuse.c
4 * Copyright (C) 2010 Google, Inc.
5 * Copyright (C) 2010-2011 NVIDIA, Corp.
8 * Colin Cross <ccross@android.com>
10 * This software is licensed under the terms of the GNU General Public
11 * License version 2, as published by the Free Software Foundation, and
12 * may be copied, distributed, and modified under those terms.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
22 TEGRA_REVISION_UNKNOWN = 0,
23 #if defined(CONFIG_ARCH_TEGRA_3x_SOC)
27 #if defined(CONFIG_ARCH_TEGRA_2x_SOC)
34 unsigned long long tegra_chip_uid(void);
35 unsigned int tegra_spare_fuse(int bit);
36 int tegra_sku_id(void);
37 int tegra_cpu_process_id(void);
38 int tegra_core_process_id(void);
39 int tegra_soc_speedo_id(void);
40 void tegra_init_fuse(void);
41 void tegra_init_speedo_data(void);
42 u32 tegra_fuse_readl(unsigned long offset);
43 void tegra_fuse_writel(u32 value, unsigned long offset);
44 enum tegra_revision tegra_get_revision(void);