diff options
Diffstat (limited to 'arch/arm/mach-tegra/fuse.h')
-rw-r--r-- | arch/arm/mach-tegra/fuse.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h index aacc00d05980..def79683bef6 100644 --- a/arch/arm/mach-tegra/fuse.h +++ b/arch/arm/mach-tegra/fuse.h | |||
@@ -19,16 +19,6 @@ | |||
19 | #ifndef __MACH_TEGRA_FUSE_H | 19 | #ifndef __MACH_TEGRA_FUSE_H |
20 | #define __MACH_TEGRA_FUSE_H | 20 | #define __MACH_TEGRA_FUSE_H |
21 | 21 | ||
22 | enum tegra_revision { | ||
23 | TEGRA_REVISION_UNKNOWN = 0, | ||
24 | TEGRA_REVISION_A01, | ||
25 | TEGRA_REVISION_A02, | ||
26 | TEGRA_REVISION_A03, | ||
27 | TEGRA_REVISION_A03p, | ||
28 | TEGRA_REVISION_A04, | ||
29 | TEGRA_REVISION_MAX, | ||
30 | }; | ||
31 | |||
32 | #define SKU_ID_T20 8 | 22 | #define SKU_ID_T20 8 |
33 | #define SKU_ID_T25SE 20 | 23 | #define SKU_ID_T25SE 20 |
34 | #define SKU_ID_AP25 23 | 24 | #define SKU_ID_AP25 23 |
@@ -40,6 +30,17 @@ enum tegra_revision { | |||
40 | #define TEGRA30 0x30 | 30 | #define TEGRA30 0x30 |
41 | #define TEGRA114 0x35 | 31 | #define TEGRA114 0x35 |
42 | 32 | ||
33 | #ifndef __ASSEMBLY__ | ||
34 | enum tegra_revision { | ||
35 | TEGRA_REVISION_UNKNOWN = 0, | ||
36 | TEGRA_REVISION_A01, | ||
37 | TEGRA_REVISION_A02, | ||
38 | TEGRA_REVISION_A03, | ||
39 | TEGRA_REVISION_A03p, | ||
40 | TEGRA_REVISION_A04, | ||
41 | TEGRA_REVISION_MAX, | ||
42 | }; | ||
43 | |||
43 | extern int tegra_sku_id; | 44 | extern int tegra_sku_id; |
44 | extern int tegra_cpu_process_id; | 45 | extern int tegra_cpu_process_id; |
45 | extern int tegra_core_process_id; | 46 | extern int tegra_core_process_id; |
@@ -72,5 +73,6 @@ void tegra114_init_speedo_data(void); | |||
72 | #else | 73 | #else |
73 | static inline void tegra114_init_speedo_data(void) {} | 74 | static inline void tegra114_init_speedo_data(void) {} |
74 | #endif | 75 | #endif |
76 | #endif /* __ASSEMBLY__ */ | ||
75 | 77 | ||
76 | #endif | 78 | #endif |