summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/include/mach
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2014-07-10 13:48:32 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:10 +0900
commitd5becdd8c2fa5776a7a4695fc702abb620b3b801 (patch)
tree6a86ef5b9d726ad04d98f7df3570f35f6f95f9ad /arch/arm/mach-exynos/include/mach
parentcdbb4910284c5a4d91f0ee5e2542ed23f34f3b08 (diff)
downloadlinux-3.10-d5becdd8c2fa5776a7a4695fc702abb620b3b801.tar.gz
linux-3.10-d5becdd8c2fa5776a7a4695fc702abb620b3b801.tar.bz2
linux-3.10-d5becdd8c2fa5776a7a4695fc702abb620b3b801.zip
ARM: EXYNOS: Fix the sequence of secondary CPU boot for Exynos3250
This patch set AUTOWAKEUP_EN bit to ARM_CORE_CONFIGURATION register because Exynos3250 removes WFE in secure mode so that turn on automatically after setting CORE_LOCAL_PWR_EN. Also, This patch use dbs_sev() macro to guarantee the data synchronization of command instead of IPI_WAKEUP because Exynos3250 don't have WFE mode in secue mode. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/include/mach')
-rw-r--r--arch/arm/mach-exynos/include/mach/regs-pmu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/regs-pmu.h b/arch/arm/mach-exynos/include/mach/regs-pmu.h
index 1b888cdd6e0..9320e103cc7 100644
--- a/arch/arm/mach-exynos/include/mach/regs-pmu.h
+++ b/arch/arm/mach-exynos/include/mach/regs-pmu.h
@@ -161,6 +161,7 @@
#define S5P_PMU_SATA_PHY_CONTROL_EN 0x1
#define S5P_CORE_LOCAL_PWR_EN 0x3
#define S5P_INT_LOCAL_PWR_EN 0x7
+#define S5P_CORE_AUTOWAKEUP_EN (1 << 31)
#define S5P_CHECK_SLEEP 0x00000BAD
@@ -231,6 +232,9 @@
#define S5P_DIS_IRQ_CORE3 S5P_PMUREG(0x1034)
#define S5P_DIS_IRQ_CENTRAL3 S5P_PMUREG(0x1038)
+/* For EXYNOS3 */
+#define EXYNOS3_COREPORESET(cpu) ((1 << 4) << cpu)
+
/* For EXYNOS5 */
#define EXYNOS5_SYS_I2C_CFG S5P_SYSREG(0x0234)