Merge branch 'next/drivers' into HEAD
[deliverable/linux.git] / arch / arm / mach-tegra / fuse.h
CommitLineData
73625e3e 1/*
73625e3e
CC
2 * Copyright (C) 2010 Google, Inc.
3 *
4 * Author:
5 * Colin Cross <ccross@android.com>
6 *
7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and
9 * may be copied, distributed, and modified under those terms.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 */
17
9a1086da
OJ
18#ifndef __MACH_TEGRA_FUSE_H
19#define __MACH_TEGRA_FUSE_H
20
21enum tegra_revision {
22 TEGRA_REVISION_UNKNOWN = 0,
23 TEGRA_REVISION_A01,
24 TEGRA_REVISION_A02,
25 TEGRA_REVISION_A03,
26 TEGRA_REVISION_A03p,
27 TEGRA_REVISION_A04,
28 TEGRA_REVISION_MAX,
29};
30
31#define SKU_ID_T20 8
32#define SKU_ID_T25SE 20
33#define SKU_ID_AP25 23
34#define SKU_ID_T25 24
35#define SKU_ID_AP25E 27
36#define SKU_ID_T25E 28
37
35b1498a
PDS
38#define TEGRA20 0x20
39#define TEGRA30 0x30
40
9a1086da
OJ
41extern int tegra_sku_id;
42extern int tegra_cpu_process_id;
43extern int tegra_core_process_id;
4c4ad669 44extern int tegra_chip_id;
9a1086da
OJ
45extern enum tegra_revision tegra_revision;
46
dee47183
OJ
47extern int tegra_bct_strapping;
48
73625e3e 49unsigned long long tegra_chip_uid(void);
73625e3e 50void tegra_init_fuse(void);
9a1086da
OJ
51
52#endif
This page took 0.157109 seconds and 5 git commands to generate.