msm: pm-boot: Remove mode enum from device tree
Add boot mode string to enum mapping.
Change-Id: I904cbdbe52b462aaa0f5eb872a589e8f51224fa9
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
diff --git a/arch/arm/mach-msm/pm-boot.h b/arch/arm/mach-msm/pm-boot.h
index 8ca3bb5..2d5110d 100644
--- a/arch/arm/mach-msm/pm-boot.h
+++ b/arch/arm/mach-msm/pm-boot.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -18,10 +18,10 @@
/* end */
enum {
- MSM_PM_BOOT_CONFIG_TZ = 0,
- MSM_PM_BOOT_CONFIG_RESET_VECTOR_PHYS = 1,
- MSM_PM_BOOT_CONFIG_RESET_VECTOR_VIRT = 2,
- MSM_PM_BOOT_CONFIG_REMAP_BOOT_ADDR = 3,
+ MSM_PM_BOOT_CONFIG_TZ ,
+ MSM_PM_BOOT_CONFIG_RESET_VECTOR_PHYS,
+ MSM_PM_BOOT_CONFIG_RESET_VECTOR_VIRT,
+ MSM_PM_BOOT_CONFIG_REMAP_BOOT_ADDR ,
};
struct msm_pm_boot_platform_data {