]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/linux-mtx-1-2.4.27/04-mtx-1-board-reset.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / linux-mtx-1-2.4.27 / 04-mtx-1-board-reset.diff
1 --- linux/arch/mips/au1000/mtx-1/board_setup.c.orig     2004-10-13 19:05:15.340583632 +0200
2 +++ linux/arch/mips/au1000/mtx-1/board_setup.c  2004-10-13 19:01:03.402883984 +0200
3 @@ -48,6 +48,12 @@
4  
5  extern struct rtc_ops no_rtc_ops;
6  
7 +void board_reset (void)
8 +{
9 +       /* Hit BCSR.SYSTEM_CONTROL[SW_RST] */
10 +       au_writel(0x00000000, 0xAE00001C);
11 +}
12 +
13  void __init board_setup(void)
14  {
15         rtc_ops = &no_rtc_ops;