diff options
author | Roman Yeryomin <roman@advem.lv> | 2018-04-29 19:13:31 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-05 06:57:00 +0200 |
commit | 91930c0f99fedf6841ab5666ef5a26caa5b0790d (patch) | |
tree | 1ed02b16def8164b5789f31ce534c16b8364de7a /target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch | |
parent | 6409b159e8b84e172da7755088d587ccd99103ab (diff) | |
download | upstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.tar.gz upstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.tar.bz2 upstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.zip |
gemini: remove 4.4 support
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch')
-rw-r--r-- | target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch b/target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch deleted file mode 100644 index ab32e9e844..0000000000 --- a/target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/arch/arm/mach-gemini/devices.c -+++ b/arch/arm/mach-gemini/devices.c -@@ -116,3 +116,20 @@ int __init platform_register_rtc(void) - return platform_device_register(&gemini_rtc_device); - } - -+static struct resource wdt_resource = { -+ .start = GEMINI_WAQTCHDOG_BASE, -+ .end = GEMINI_WAQTCHDOG_BASE + 0x18, -+ .flags = IORESOURCE_MEM, -+}; -+ -+static struct platform_device wdt_device = { -+ .name = "gemini-wdt", -+ .id = 0, -+ .resource = &wdt_resource, -+ .num_resources = 1, -+}; -+ -+int __init platform_register_watchdog(void) -+{ -+ return platform_device_register(&wdt_device); -+} ---- a/arch/arm/mach-gemini/common.h -+++ b/arch/arm/mach-gemini/common.h -@@ -27,6 +27,7 @@ extern int platform_register_uart(void); - extern int platform_register_pflash(unsigned int size, - struct mtd_partition *parts, - unsigned int nr_parts); -+extern int platform_register_watchdog(void); - - extern void gemini_restart(enum reboot_mode mode, const char *cmd); - |