ARM: samsung: make pm-debug platform independent
authorArnd Bergmann <arnd@arndb.de>
Thu, 6 Aug 2020 18:20:29 +0000 (20:20 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 19 Aug 2020 19:10:50 +0000 (21:10 +0200)
commitdbd6fefb598b20714be552fae538e12302ad004c
tree1d27bbd7c387b46a643892dc7994d18ee579e100
parent1e574a665ed11ced475d26a783becdc40614f7ac
ARM: samsung: make pm-debug platform independent

The pm-debug code is one of the few things shared between
s3c24xx/s3c64xx and the newer s5pv210. In order to make s5pv210
independent of plat-samsung, change the common bits of this code to no
longer reference the s3c specific bits.

In particular, all the CPU checks need to be moved out of the common
code into platform specific files.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200806182059.2431-12-krzk@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c24xx/include/mach/pm-core.h
arch/arm/mach-s3c64xx/include/mach/pm-core.h
arch/arm/mach-s3c64xx/pm.c
arch/arm/mach-s5pv210/pm.c
arch/arm/plat-samsung/include/plat/pm-common.h
arch/arm/plat-samsung/pm-debug.c
arch/arm/plat-samsung/pm.c