summaryrefslogtreecommitdiff
path: root/arch/arm/mach-qcom/scm.h
diff options
context:
space:
mode:
authorKumar Gala <galak@codeaurora.org>2015-02-04 16:30:46 -0600
committerKumar Gala <galak@codeaurora.org>2015-03-11 15:06:37 -0500
commit4de43476fc1baaf2bb7a520fc9e3b1797943b615 (patch)
tree1f68e9c580db33a5ce0e064469fb7a5f6d12475f /arch/arm/mach-qcom/scm.h
parentb97fdb6dc0effe0612bc60fc9db7017b9fd81932 (diff)
downloadlwn-4de43476fc1baaf2bb7a520fc9e3b1797943b615.tar.gz
lwn-4de43476fc1baaf2bb7a520fc9e3b1797943b615.zip
ARM: qcom: Prep scm code for move to drivers/firmware
Add qcom prefix to functions, etc to create a unique name space for the scm code as it gets ready to move out of qcom specific mach dir. Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-qcom/scm.h')
-rw-r--r--arch/arm/mach-qcom/scm.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/mach-qcom/scm.h b/arch/arm/mach-qcom/scm.h
index d73c3786c881..6bb84cffb396 100644
--- a/arch/arm/mach-qcom/scm.h
+++ b/arch/arm/mach-qcom/scm.h
@@ -9,21 +9,21 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
-#ifndef __MACH_SCM_H
-#define __MACH_SCM_H
+#ifndef __QCOM_SCM_H
+#define __QCOM_SCM_H
-#define SCM_FLAG_COLDBOOT_CPU1 0x01
-#define SCM_FLAG_COLDBOOT_CPU2 0x08
-#define SCM_FLAG_COLDBOOT_CPU3 0x20
-#define SCM_FLAG_WARMBOOT_CPU0 0x04
-#define SCM_FLAG_WARMBOOT_CPU1 0x02
-#define SCM_FLAG_WARMBOOT_CPU2 0x10
-#define SCM_FLAG_WARMBOOT_CPU3 0x40
+#define QCOM_SCM_FLAG_COLDBOOT_CPU1 0x01
+#define QCOM_SCM_FLAG_COLDBOOT_CPU2 0x08
+#define QCOM_SCM_FLAG_COLDBOOT_CPU3 0x20
+#define QCOM_SCM_FLAG_WARMBOOT_CPU0 0x04
+#define QCOM_SCM_FLAG_WARMBOOT_CPU1 0x02
+#define QCOM_SCM_FLAG_WARMBOOT_CPU2 0x10
+#define QCOM_SCM_FLAG_WARMBOOT_CPU3 0x40
-extern int scm_set_boot_addr(u32 addr, int flags);
+extern int qcom_scm_set_boot_addr(u32 addr, int flags);
-#define SCM_VERSION(major, minor) (((major) << 16) | ((minor) & 0xFF))
+#define QCOM_SCM_VERSION(major, minor) (((major) << 16) | ((minor) & 0xFF))
-extern u32 scm_get_version(void);
+extern u32 qcom_scm_get_version(void);
#endif