diff options
author | Yudong Tan <ytan@nvidia.com> | 2011-07-01 11:26:17 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:19 -0800 |
commit | f8cd6295ec46744ca93a76cc430faacbaac664a4 (patch) | |
tree | 2913d021afa34b271b3fd1f0fa778de23e309f13 /arch/arm/mach-tegra/fuse.h | |
parent | 607cfa68323723eb2566f7259c6de9fe94703292 (diff) |
arm: tegra: Use new platform types
This change is needed to support three different platforms, silicon,
fpga and simulation.
Change-Id: I407853e1d86accbe3686deb4f34571fe6b10bcce
Reviewed-on: http://git-master/r/36351
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rc4b424f1a55ffb71245f3a8330559258124e2a19
Diffstat (limited to 'arch/arm/mach-tegra/fuse.h')
-rw-r--r-- | arch/arm/mach-tegra/fuse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h index 65c43c6843a0..8ccb085870a4 100644 --- a/arch/arm/mach-tegra/fuse.h +++ b/arch/arm/mach-tegra/fuse.h @@ -32,7 +32,7 @@ enum tegra_chipid tegra_get_chipid(void); enum tegra_revision tegra_get_revision(void); const char *tegra_get_revision_name(void); -#ifndef CONFIG_TEGRA_FPGA_PLATFORM +#ifdef CONFIG_TEGRA_SILICON_PLATFORM int tegra_cpu_process_id(void); int tegra_core_process_id(void); @@ -40,7 +40,7 @@ int tegra_cpu_speedo_id(void); int tegra_soc_speedo_id(void); void tegra_init_speedo_data(void); -#else /* CONFIG_TEGRA_FPGA_PLATFORM */ +#else static inline int tegra_cpu_process_id(void) { return 0; } static inline int tegra_core_process_id(void) { return 0; } @@ -48,4 +48,4 @@ static inline int tegra_cpu_speedo_id(void) { return 0; } static inline int tegra_soc_speedo_id(void) { return 0; } static inline void tegra_init_speedo_data(void) { } -#endif /* CONFIG_TEGRA_FPGA_PLATFORM */ +#endif |