From: Peter De Schrijver Date: Thu, 9 Feb 2012 23:47:42 +0000 (+0200) Subject: ARM: tegra: export Tegra chipid X-Git-Tag: v3.4-rc1~72^2~4^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c4ad6695ab8eafe74abaf6c85d068ff496c99d6;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Acked-by: Stephen Warren Tested-by: Stephen Warren Signed-off-by: Olof Johansson --- diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index e2dd342..027f2b2 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c @@ -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 diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h index c554572..d2107b2 100644 --- a/arch/arm/mach-tegra/fuse.h +++ b/arch/arm/mach-tegra/fuse.h @@ -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;