From 6c1f8e8457f7c988ec9fe4e7e902ce83876ec51f Mon Sep 17 00:00:00 2001 From: Roger Hsieh Date: Wed, 27 Jul 2011 20:37:28 +0800 Subject: arm: tegra: fuse: Add A04 chip revision. 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 Tested-by: Ching Kuang (Roger) Hsieh Reviewed-by: Varun Wadekar Reviewed-by: ChihJen Hsu Reviewed-by: Yu-Fong (Foster) Cho Reviewed-by: Bharat Nihalani --- arch/arm/mach-tegra/fuse.c | 2 ++ arch/arm/mach-tegra/fuse.h | 1 + 2 files changed, 3 insertions(+) (limited to 'arch/arm') 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, }; -- cgit v1.2.3