diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-08-06 21:20:34 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-19 22:33:11 +0300 |
commit | 423c62bfb623cb8b41afb0218bf68da56c4ab32e (patch) | |
tree | 70181c96730ed2f5edf6ce06fd8cde261f17040f /arch/arm/mach-s5pv210/regs-clock.h | |
parent | 17132da70eb766785b9b4677bacce18cc11ea442 (diff) | |
download | linux-423c62bfb623cb8b41afb0218bf68da56c4ab32e.tar.xz |
ARM: s5pv210: use private pm save/restore
The pm save/restore code is fairly small, so in order to
separate the s3c and s5p platforms, adding an s5p specific
copy instead of sharing it is actually easier.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200806182059.2431-17-krzk@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s5pv210/regs-clock.h')
-rw-r--r-- | arch/arm/mach-s5pv210/regs-clock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pv210/regs-clock.h b/arch/arm/mach-s5pv210/regs-clock.h index 2a35c831a9b0..9cad2306e470 100644 --- a/arch/arm/mach-s5pv210/regs-clock.h +++ b/arch/arm/mach-s5pv210/regs-clock.h @@ -9,7 +9,9 @@ #ifndef __ASM_ARCH_REGS_CLOCK_H #define __ASM_ARCH_REGS_CLOCK_H __FILE__ -#include <plat/map-base.h> +#define S3C_ADDR_BASE 0xF6000000 +#define S3C_ADDR(x) ((void __iomem __force *)S3C_ADDR_BASE + (x)) +#define S3C_VA_SYS S3C_ADDR(0x00100000) #define S5P_CLKREG(x) (S3C_VA_SYS + (x)) |