diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2012-01-02 17:08:34 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-01-10 08:18:11 -0800 |
commit | d9b2a3f13b01e5b6e015cd93187482812e862c7b (patch) | |
tree | d71b2bb5cfe2c852c167d9011db0d2527bafb129 /arch/arm/mach-tegra | |
parent | e10ed7ea8c34a75437d2b737479887221d89b1b1 (diff) |
ARM: Tegra: fuse: Add A04 revision
Change-Id: Ie1facdb47d9eae2438f1bb3928db174690dd2e4d
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/72862
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
(cherry picked from commit da61c8810313729b8c8f451f6cf1586afff2bf12)
Reviewed-on: http://git-master/r/73959
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/fuse.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/include/mach/hardware.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index fcc10afb07a1..c24bfaf29358 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c @@ -79,6 +79,8 @@ static const char *tegra_revision_name[TEGRA_REVISION_MAX] = { [TEGRA_REVISION_A02] = "A02", [TEGRA_REVISION_A03] = "A03", [TEGRA_REVISION_A03p] = "A03 prime", + [TEGRA_REVISION_A04] = "A04", + [TEGRA_REVISION_A04p] = "A04 prime", }; u32 tegra_fuse_readl(unsigned long offset) @@ -309,6 +311,8 @@ static struct chip_revision tegra_chip_revisions[] = { CHIP_REVISION(TEGRA2, 1, 2, 0, A02), CHIP_REVISION(TEGRA2, 1, 3, 0, A03), CHIP_REVISION(TEGRA2, 1, 3, 'p', A03p), + CHIP_REVISION(TEGRA2, 1, 4, 0, A04), + CHIP_REVISION(TEGRA2, 1, 4, 'p', A04p), CHIP_REVISION(TEGRA3, 1, 1, 0, A01), CHIP_REVISION(TEGRA3, 1, 2, 0, A02), CHIP_REVISION(TEGRA3, 1, 3, 0, A03), diff --git a/arch/arm/mach-tegra/include/mach/hardware.h b/arch/arm/mach-tegra/include/mach/hardware.h index da0bc95eec5b..8f8cc722ae0c 100644 --- a/arch/arm/mach-tegra/include/mach/hardware.h +++ b/arch/arm/mach-tegra/include/mach/hardware.h @@ -43,6 +43,8 @@ enum tegra_revision { TEGRA_REVISION_A02, TEGRA_REVISION_A03, TEGRA_REVISION_A03p, + TEGRA_REVISION_A04, + TEGRA_REVISION_A04p, TEGRA_REVISION_MAX, }; |