Skip to content

Commit

Permalink
ARM: tegra: export Tegra chipid
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter De Schrijver authored and Olof Johansson committed Feb 26, 2012
1 parent 35b1498 commit 4c4ad66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
int tegra_sku_id;
int tegra_cpu_process_id;
int tegra_core_process_id;
static int tegra_chip_id;
int tegra_chip_id;
enum tegra_revision tegra_revision;

/* The BCT to use at boot is specified by board straps that can be read
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/fuse.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ enum tegra_revision {
extern int tegra_sku_id;
extern int tegra_cpu_process_id;
extern int tegra_core_process_id;
extern int tegra_chip_id;
extern enum tegra_revision tegra_revision;

extern int tegra_bct_strapping;
Expand Down

0 comments on commit 4c4ad66

Please sign in to comment.