diff options
author | Peter De Schrijver <pdeschrijver@nvidia.com> | 2012-02-09 18:47:42 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-26 17:44:19 -0500 |
commit | 4c4ad6695ab8eafe74abaf6c85d068ff496c99d6 (patch) | |
tree | c7496c76007266a465ba4d51ff7f4cd45f185afc /arch | |
parent | 35b1498a34390c4927659abb1076b829ad3a7519 (diff) |
ARM: tegra: export Tegra chipid
The powergating and reset handling code needs to differentiate between Tegra
variants. Therefore we export the chipid here.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/fuse.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-tegra/fuse.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index e2dd342e0b33..027f2b2d1788 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c | |||
@@ -33,7 +33,7 @@ | |||
33 | int tegra_sku_id; | 33 | int tegra_sku_id; |
34 | int tegra_cpu_process_id; | 34 | int tegra_cpu_process_id; |
35 | int tegra_core_process_id; | 35 | int tegra_core_process_id; |
36 | static int tegra_chip_id; | 36 | int tegra_chip_id; |
37 | enum tegra_revision tegra_revision; | 37 | enum tegra_revision tegra_revision; |
38 | 38 | ||
39 | /* The BCT to use at boot is specified by board straps that can be read | 39 | /* The BCT to use at boot is specified by board straps that can be read |
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h index c55457281eed..d2107b2cb85a 100644 --- a/arch/arm/mach-tegra/fuse.h +++ b/arch/arm/mach-tegra/fuse.h | |||
@@ -41,6 +41,7 @@ enum tegra_revision { | |||
41 | extern int tegra_sku_id; | 41 | extern int tegra_sku_id; |
42 | extern int tegra_cpu_process_id; | 42 | extern int tegra_cpu_process_id; |
43 | extern int tegra_core_process_id; | 43 | extern int tegra_core_process_id; |
44 | extern int tegra_chip_id; | ||
44 | extern enum tegra_revision tegra_revision; | 45 | extern enum tegra_revision tegra_revision; |
45 | 46 | ||
46 | extern int tegra_bct_strapping; | 47 | extern int tegra_bct_strapping; |