]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
arm: tegra: fuse: add api for chip minor revision
authorNaveen Kumar S <nkumars@nvidia.com>
Thu, 4 Jul 2013 16:10:06 +0000 (21:40 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Wed, 18 Mar 2015 18:44:18 +0000 (11:44 -0700)
Added function tegra_get_minor_rev() to return minor revision number
of the chip.

Bug 1166110

Change-Id: I087331433cabb35c05fa2ce0bd53013b6fb6624f
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/245330
(cherry picked from commit f29df745d2e97c0feb5f9c195202ca55041fa14c)
Reviewed-on: http://git-master/r/251206
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm/mach-tegra/include/mach/hardware.h

index 38fb6999daaa575af7f1d0b2be315124a889acb5..78bdc1e4a754b8e62dbf35b9c15ade136b15800a 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2010 Google, Inc.
- * Copyright (C) 2011-2012 NVIDIA Corp.
+ * Copyright (c) 2011-2013 NVIDIA CORPORATION. All rights reserved.
  *
  * Author:
  *     Colin Cross <ccross@google.com>
@@ -59,6 +59,7 @@ enum tegra_platform {
 
 extern enum tegra_revision tegra_revision;
 enum tegra_chipid tegra_get_chipid(void);
+unsigned int tegra_get_minor_rev(void);
 
 #ifdef CONFIG_TEGRA_SIMULATION_SPLIT_MEM
 int tegra_split_mem_active(void);