summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/common.h
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2019-02-18 17:34:11 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2019-03-19 23:07:47 +0300
commit3a1f2f38fb82b7a3bc7351d7e38df5a1e9c901d2 (patch)
tree0c8578a1c8a16faa5a4464a2c85e67dd5cfc56b6 /arch/arm/mach-exynos/common.h
parent47efaf6ba6971e669f198e8e60fe6e674b5020ac (diff)
downloadlinux-3a1f2f38fb82b7a3bc7351d7e38df5a1e9c901d2.tar.xz
ARM: exynos: Add CPU state management for Exynos542x under secure firmware
Add required CPU state management done via secure monitor call for Exynos542x running unsed Secure Firmware. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> [mszyprow: rewrote code to use defines and sysram base address instead of the magic numbers, added second smc call in pm_resume, rephrased subject and commit message] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-exynos/common.h')
-rw-r--r--arch/arm/mach-exynos/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 1b8699e94098..c93356a8d662 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -91,6 +91,7 @@ extern u32 cp15_save_power;
extern void __iomem *sysram_ns_base_addr;
extern void __iomem *sysram_base_addr;
+extern phys_addr_t sysram_base_phys;
extern void __iomem *pmu_base_addr;
void exynos_sysram_init(void);