-
- Downloads
ARM: s3c64xx: switch to generic watchdog driver reset
Similarly to commit f6361c6b ("ARM: S3C24XX: remove separate restart code"), the platform watchdog reset code can be removed in favor of a generic watchdog driver which already handles reset. This allows removal of a bunch of machine code and fixes also W=1 compile warnings: arch/arm/plat-samsung/watchdog-reset.c:29:6: warning: no previous prototype for 'samsung_wdt_reset' [-Wmissing-prototypes] arch/arm/plat-samsung/watchdog-reset.c:69:13: warning: no previous prototype for 'samsung_wdt_reset_of_init' [-Wmissing-prototypes] arch/arm/plat-samsung/watchdog-reset.c:89:13: warning: no previous prototype for 'samsung_wdt_reset_init' [-Wmissing-prototypes] The generic watchdog-based system reset is not exactly the same as before. The previous method had a fallback to soft_restart() which now is gone. The commit also removes a FIXME note about calling s3c64xx_clk_init() inside s3c64xx_init_irq(). No one fixed this since long time and the note is not meaningful anymore because watchdog part is removed. Signed-off-by:Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by:
Tomasz Figa <tomasz.figa@gmail.com>
Showing
- arch/arm/mach-s3c64xx/Kconfig 2 additions, 1 deletionarch/arm/mach-s3c64xx/Kconfig
- arch/arm/mach-s3c64xx/common.c 0 additions, 16 deletionsarch/arm/mach-s3c64xx/common.c
- arch/arm/mach-s3c64xx/common.h 0 additions, 2 deletionsarch/arm/mach-s3c64xx/common.h
- arch/arm/mach-s3c64xx/mach-anw6410.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-anw6410.c
- arch/arm/mach-s3c64xx/mach-crag6410.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-crag6410.c
- arch/arm/mach-s3c64xx/mach-hmt.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-hmt.c
- arch/arm/mach-s3c64xx/mach-mini6410.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-mini6410.c
- arch/arm/mach-s3c64xx/mach-ncp.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-ncp.c
- arch/arm/mach-s3c64xx/mach-real6410.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-real6410.c
- arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c 0 additions, 17 deletionsarch/arm/mach-s3c64xx/mach-s3c64xx-dt.c
- arch/arm/mach-s3c64xx/mach-smartq5.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-smartq5.c
- arch/arm/mach-s3c64xx/mach-smartq7.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-smartq7.c
- arch/arm/mach-s3c64xx/mach-smdk6400.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-smdk6400.c
- arch/arm/mach-s3c64xx/mach-smdk6410.c 0 additions, 1 deletionarch/arm/mach-s3c64xx/mach-smdk6410.c
- arch/arm/mach-s3c64xx/watchdog-reset.h 0 additions, 16 deletionsarch/arm/mach-s3c64xx/watchdog-reset.h
- arch/arm/plat-samsung/Kconfig 0 additions, 6 deletionsarch/arm/plat-samsung/Kconfig
- arch/arm/plat-samsung/Makefile 0 additions, 1 deletionarch/arm/plat-samsung/Makefile
- arch/arm/plat-samsung/watchdog-reset.c 0 additions, 93 deletionsarch/arm/plat-samsung/watchdog-reset.c
Loading
Please register or sign in to comment