summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2013-07-04 12:29:14 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2013-07-05 17:06:54 +0900
commitdc20fdd76a85908f20d7d33e3197cada2b42b92e (patch)
treedc5e9b0ac736479a2b9b7a13ee469f8b5dfa7dc0 /arch/arm/include
parent493c073ff486323ef8e58e5d721eda68cf150d98 (diff)
downloadu-boot-imx-dc20fdd76a85908f20d7d33e3197cada2b42b92e.zip
u-boot-imx-dc20fdd76a85908f20d7d33e3197cada2b42b92e.tar.gz
u-boot-imx-dc20fdd76a85908f20d7d33e3197cada2b42b92e.tar.bz2
EXYNOS: Add API for power reset and exit wakeup
This patch adds APIs to get power reset status and exit the wakeup condition for both exynos5 and exynos4 Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-exynos/power.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/power.h b/arch/arm/include/asm/arch-exynos/power.h
index 3549667..44ad8d3 100644
--- a/arch/arm/include/asm/arch-exynos/power.h
+++ b/arch/arm/include/asm/arch-exynos/power.h
@@ -888,4 +888,16 @@ void set_ps_hold_ctrl(void);
* source as XXTI
*/
void set_xclkout(void);
+
+/*
+ * Read inform1 to get the reset status.
+ * @return: the value can be either S5P_CHECK_SLEEP or
+ * S5P_CHECK_DIDLE or S5P_CHECK_LPA as stored in inform1
+ * if none of these then its normal booting.
+ */
+uint32_t get_reset_status(void);
+
+
+/* Read the resume function and call it */
+void power_exit_wakeup(void);
#endif