Commit 47efaf6b authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Krzysztof Kozlowski

ARM: exynos: Add Exynos SMC values for secure memory write

Add defines for the (secure)-memory write for Exynos Secure Monitor
Call. The values comes from the vendor kernel.
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent e7467312
...@@ -25,6 +25,13 @@ ...@@ -25,6 +25,13 @@
#define SMC_CMD_L2X0INVALL (-24) #define SMC_CMD_L2X0INVALL (-24)
#define SMC_CMD_L2X0DEBUG (-25) #define SMC_CMD_L2X0DEBUG (-25)
/* For Accessing CP15/SFR (General) */
#define SMC_CMD_REG (-101)
/* defines for SMC_CMD_REG */
#define SMC_REG_CLASS_SFR_W (0x1 << 30)
#define SMC_REG_ID_SFR_W(addr) (SMC_REG_CLASS_SFR_W | ((addr) >> 2))
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
extern void exynos_smc(u32 cmd, u32 arg1, u32 arg2, u32 arg3); extern void exynos_smc(u32 cmd, u32 arg1, u32 arg2, u32 arg3);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment