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>
This commit is contained in:
Peter De Schrijver 2012-02-10 01:47:42 +02:00 коммит произвёл Olof Johansson
Родитель 35b1498a34
Коммит 4c4ad6695a
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -33,7 +33,7 @@
int tegra_sku_id; int tegra_sku_id;
int tegra_cpu_process_id; int tegra_cpu_process_id;
int tegra_core_process_id; int tegra_core_process_id;
static int tegra_chip_id; int tegra_chip_id;
enum tegra_revision tegra_revision; enum tegra_revision tegra_revision;
/* The BCT to use at boot is specified by board straps that can be read /* The BCT to use at boot is specified by board straps that can be read

Просмотреть файл

@ -41,6 +41,7 @@ enum tegra_revision {
extern int tegra_sku_id; extern int tegra_sku_id;
extern int tegra_cpu_process_id; extern int tegra_cpu_process_id;
extern int tegra_core_process_id; extern int tegra_core_process_id;
extern int tegra_chip_id;
extern enum tegra_revision tegra_revision; extern enum tegra_revision tegra_revision;
extern int tegra_bct_strapping; extern int tegra_bct_strapping;