summaryrefslogtreecommitdiffstats
path: root/arch/mips/qemu/q-setup.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-15 18:59:34 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 17:39:19 +0100
commitc583122c26ad04bb2379933dc5acc8b9479d6c67 (patch)
tree8afc9153e18b300ab93ff6a675e0c0f6e464c518 /arch/mips/qemu/q-setup.c
parenteae89076e696f51762d81d6e2538c3beb59fa7bd (diff)
[MIPS] Qemu system shutdown support
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/qemu/q-setup.c')
-rw-r--r--arch/mips/qemu/q-setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c
index 022eb1af6db..f27155bc2d9 100644
--- a/arch/mips/qemu/q-setup.c
+++ b/arch/mips/qemu/q-setup.c
@@ -2,6 +2,8 @@
#include <asm/io.h>
#include <asm/time.h>
+extern void qemu_reboot_setup(void);
+
#define QEMU_PORT_BASE 0xb4000000
const char *get_system_type(void)
@@ -22,4 +24,6 @@ void __init plat_setup(void)
{
set_io_port_base(QEMU_PORT_BASE);
board_timer_setup = qemu_timer_setup;
+
+ qemu_reboot_setup();
}