提交 61cb2631 编写于 作者: T Tomasz Figa

ARM: SAMSUNG: Remove remaining uses of plat/regs-timer.h header

This patch removes remaining inclusions of plat/regs-timer.h as
a preparation to remove the header.

As a part of this, things like save and restore of PWM registers are
removed from SoC-specific code, because it is handled in appropriate
drivers now.
Signed-off-by: NTomasz Figa <tomasz.figa@gmail.com>
Reviewed-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: NHeiko Stuebner <heiko@sntech.de>
Tested-by: NMark Brown <broonie@linaro.org>
Tested-by: NSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Acked-by: NArnd Bergmann <arnd@arndb.de>
上级 7c93c200
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <mach/map.h> #include <mach/map.h>
#include <plat/regs-serial.h> #include <plat/regs-serial.h>
#include <plat/regs-timer.h>
#include <mach/regs-gpio.h> #include <mach/regs-gpio.h>
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/pm.h> #include <plat/pm.h>
...@@ -43,7 +42,6 @@ static struct sleep_save irq_save[] = { ...@@ -43,7 +42,6 @@ static struct sleep_save irq_save[] = {
SAVE_ITEM(S3C64XX_EINT0FLTCON2), SAVE_ITEM(S3C64XX_EINT0FLTCON2),
SAVE_ITEM(S3C64XX_EINT0FLTCON3), SAVE_ITEM(S3C64XX_EINT0FLTCON3),
SAVE_ITEM(S3C64XX_EINT0MASK), SAVE_ITEM(S3C64XX_EINT0MASK),
SAVE_ITEM(S3C64XX_TINT_CSTAT),
}; };
static struct irq_grp_save { static struct irq_grp_save {
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/pm.h> #include <plat/pm.h>
#include <plat/regs-timer.h>
#include <plat/wakeup-mask.h> #include <plat/wakeup-mask.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
...@@ -48,8 +47,6 @@ static struct sleep_save s5p64x0_misc_save[] = { ...@@ -48,8 +47,6 @@ static struct sleep_save s5p64x0_misc_save[] = {
SAVE_ITEM(S5P64X0_MEM0CONSLP1), SAVE_ITEM(S5P64X0_MEM0CONSLP1),
SAVE_ITEM(S5P64X0_MEM0DRVCON), SAVE_ITEM(S5P64X0_MEM0DRVCON),
SAVE_ITEM(S5P64X0_MEM1DRVCON), SAVE_ITEM(S5P64X0_MEM1DRVCON),
SAVE_ITEM(S3C64XX_TINT_CSTAT),
}; };
/* DPLL is present only in S5P6450 */ /* DPLL is present only in S5P6450 */
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <plat/cpu.h> #include <plat/cpu.h>
#include <plat/pm.h> #include <plat/pm.h>
#include <plat/regs-timer.h>
#include <mach/regs-irq.h> #include <mach/regs-irq.h>
#include <mach/regs-clock.h> #include <mach/regs-clock.h>
...@@ -77,15 +76,6 @@ static struct sleep_save s5pv210_core_save[] = { ...@@ -77,15 +76,6 @@ static struct sleep_save s5pv210_core_save[] = {
/* Clock ETC */ /* Clock ETC */
SAVE_ITEM(S5P_CLK_OUT), SAVE_ITEM(S5P_CLK_OUT),
SAVE_ITEM(S5P_MDNIE_SEL), SAVE_ITEM(S5P_MDNIE_SEL),
/* PWM Register */
SAVE_ITEM(S3C2410_TCFG0),
SAVE_ITEM(S3C2410_TCFG1),
SAVE_ITEM(S3C64XX_TINT_CSTAT),
SAVE_ITEM(S3C2410_TCON),
SAVE_ITEM(S3C2410_TCNTB(0)),
SAVE_ITEM(S3C2410_TCMPB(0)),
SAVE_ITEM(S3C2410_TCNTO(0)),
}; };
static int s5pv210_cpu_suspend(unsigned long arg) static int s5pv210_cpu_suspend(unsigned long arg)
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include <mach/irqs.h> #include <mach/irqs.h>
#include <mach/map.h> #include <mach/map.h>
#include <plat/regs-timer.h>
#include <plat/cpu.h> #include <plat/cpu.h>
void __init s5p_init_irq(u32 *vic, u32 num_vic) void __init s5p_init_irq(u32 *vic, u32 num_vic)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册