diff options
author | Roger Hsieh <rhsieh@nvidia.com> | 2011-07-27 20:37:28 +0800 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-07-29 17:12:41 -0700 |
commit | 6c1f8e8457f7c988ec9fe4e7e902ce83876ec51f (patch) | |
tree | 2c3380ce1b17b8b6d86549ec0359ce1dbd2c3d3c /arch/arm | |
parent | 28bb7848e02ce46972cdaad6cab076cf4bc253fe (diff) |
arm: tegra: fuse: Add A04 chip revision.tegra-11.2.12
tegra_get_revision() returned chip minor version but it doesn't identify
A04 chip correctly. Add A04 revision to fix it.
Bug 856439
Change-Id: I7249633dccaa1f15dd275feeeb2c528322f1f47f
Reviewed-on: http://git-master/r/43481
Reviewed-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Tested-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
Reviewed-by: Yu-Fong (Foster) Cho <ycho@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-tegra/fuse.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-tegra/fuse.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index 1aa393c18323..c3f450d89774 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c @@ -101,6 +101,8 @@ enum tegra_revision tegra_get_revision(void) return TEGRA_REVISION_A03p; else return TEGRA_REVISION_A03; + case 4: + return TEGRA_REVISION_A04; default: return TEGRA_REVISION_UNKNOWN; } diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h index d38474376469..8e553618d81d 100644 --- a/arch/arm/mach-tegra/fuse.h +++ b/arch/arm/mach-tegra/fuse.h @@ -22,6 +22,7 @@ enum tegra_revision { TEGRA_REVISION_A02, TEGRA_REVISION_A03, TEGRA_REVISION_A03p, + TEGRA_REVISION_A04, TEGRA_REVISION_MAX, }; |