linux_dsm_epyc7002/arch/arm/mach-s3c64xx
Krzysztof Kozlowski 8166c10001 ARM: s3c64xx: switch to generic watchdog driver reset
Similarly to commit f6361c6b38 ("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>
2020-08-19 20:57:38 +02:00
..
include/mach ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
ata-core.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
backlight.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
common.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
common.h ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
cpuidle.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
crag6410.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
dev-audio.c ARM: s3c: remove unneeded machine header includes 2020-08-17 18:54:33 +02:00
dev-backlight.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
dev-uart.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
irq-pm.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
irq-uart.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
Kconfig ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-anw6410.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-crag6410-module.c ARM: s3c64xx: use simple i2c probe function 2020-08-17 18:54:33 +02:00
mach-crag6410.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-hmt.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-mini6410.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-ncp.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-real6410.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-s3c64xx-dt.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-smartq5.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-smartq7.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-smartq.c ARM: s3c: remove plat-samsung/.../samsung-time.h 2020-08-17 18:54:33 +02:00
mach-smartq.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smdk6400.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
mach-smdk6410.c ARM: s3c64xx: switch to generic watchdog driver reset 2020-08-19 20:57:38 +02:00
Makefile ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
onenand-core.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
pl080.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
pm.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-gpio-memport.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regs-modem.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-srom.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-sys.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
regs-syscon-power.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
regs-usb-hsotg-phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s3c6400.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
s3c6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-fb-24bpp.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-i2c0.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-i2c1.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-ide.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-keypad.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-sdhci-gpio.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-spi.c ARM: s3c64xx: include header to fix -Wmissing-prototypes 2020-08-17 18:54:33 +02:00
setup-usb-phy.c ARM: s3c64xx: fix return value check in s3c_usb_otgphy_init() 2020-08-17 17:43:53 +02:00
sleep.S ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00