2dacfefb21651261dc1a79f6ece9214a3ba5d136
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License
4 * as published by the Free Software Foundation; either version 2
5 * of the License, or (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the
14 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
15 * Boston, MA 02110-1301, USA.
19 #include <asm/reboot.h>
22 static void rdc321x_reset(void)
26 /* write to southbridge config register 0x41
27 enable pci reset on cpu reset, make internal port 0x92 writeable
28 and switch port 0x92 to internal */
29 outl(0x80003840, 0xCF8);
38 static int __init
rdc_setup_reset(void)
40 machine_ops
.emergency_restart
= rdc321x_reset
;
44 arch_initcall(rdc_setup_reset
);
This page took 0.038858 seconds and 3 git commands to generate.