summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-use-cpld-reset.patch
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-03-22 00:18:00 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-03-22 00:18:00 +0000
commit9dcffd01e521467ec3f2b587be0e41a5aaca49f3 (patch)
tree2b6354f93442be37f33a176d7c13bcc14794f495 /packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-use-cpld-reset.patch
parent98cbb1de7c19b9822b091cd6f675950bdbb0ecea (diff)
conf and linux: update ts72xx to 2.6.24 kernel. Closes 3906.
Diffstat (limited to 'packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-use-cpld-reset.patch')
-rw-r--r--packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-use-cpld-reset.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-use-cpld-reset.patch b/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-use-cpld-reset.patch
deleted file mode 100644
index 681622a9ae..0000000000
--- a/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-use-cpld-reset.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-
-Use CPLD watchdog to reset the machine instead of buggy ep93xx one, which
-sometimes get stuck...
-
-Signed-off-by: Petr Stetiar <ynezz@true.cz>
-
-Index: linux-2.6.23-rc5/include/asm-arm/arch-ep93xx/system.h
-===================================================================
---- linux-2.6.23-rc5.orig/include/asm-arm/arch-ep93xx/system.h 2007-09-04 02:29:35.000000000 +0200
-+++ linux-2.6.23-rc5/include/asm-arm/arch-ep93xx/system.h 2007-09-04 02:31:52.000000000 +0200
-@@ -3,6 +3,7 @@
- */
-
- #include <asm/hardware.h>
-+#include <asm/mach-types.h>
-
- static inline void arch_idle(void)
- {
-@@ -15,11 +16,17 @@
-
- local_irq_disable();
-
-- devicecfg = __raw_readl(EP93XX_SYSCON_DEVICE_CONFIG);
-- __raw_writel(0xaa, EP93XX_SYSCON_SWLOCK);
-- __raw_writel(devicecfg | 0x80000000, EP93XX_SYSCON_DEVICE_CONFIG);
-- __raw_writel(0xaa, EP93XX_SYSCON_SWLOCK);
-- __raw_writel(devicecfg & ~0x80000000, EP93XX_SYSCON_DEVICE_CONFIG);
-+ if (machine_is_ts72xx()) {
-+ __raw_writeb(0x5, TS72XX_WATCHDOG_FEED_PHYS_BASE);
-+ __raw_writeb(0x1, TS72XX_WATCHDOG_CONTROL_PHYS_BASE);
-+ } else {
-+ devicecfg = __raw_readl(EP93XX_SYSCON_DEVICE_CONFIG);
-+ __raw_writel(0xaa, EP93XX_SYSCON_SWLOCK);
-+ __raw_writel(devicecfg | 0x80000000, EP93XX_SYSCON_DEVICE_CONFIG);
-+ __raw_writel(0xaa, EP93XX_SYSCON_SWLOCK);
-+ __raw_writel(devicecfg & ~0x80000000, EP93XX_SYSCON_DEVICE_CONFIG);
-+ }
-+
-
- while (1)
- ;