summaryrefslogtreecommitdiff
path: root/packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff')
-rw-r--r--packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff b/packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff
index e69de29bb2..9a13c2a403 100644
--- a/packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff
+++ b/packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff
@@ -0,0 +1,15 @@
+--- linux/arch/mips/au1000/mtx-1/board_setup.c.orig 2004-10-13 19:05:15.340583632 +0200
++++ linux/arch/mips/au1000/mtx-1/board_setup.c 2004-10-13 19:01:03.402883984 +0200
+@@ -48,6 +48,12 @@
+
+ extern struct rtc_ops no_rtc_ops;
+
++void board_reset (void)
++{
++ /* Hit BCSR.SYSTEM_CONTROL[SW_RST] */
++ au_writel(0x00000000, 0xAE00001C);
++}
++
+ void __init board_setup(void)
+ {
+ rtc_ops = &no_rtc_ops;