diff options
Diffstat (limited to 'arch/mips/qemu/q-setup.c')
-rw-r--r-- | arch/mips/qemu/q-setup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c index 022eb1af6db1..e100d6072e31 100644 --- a/arch/mips/qemu/q-setup.c +++ b/arch/mips/qemu/q-setup.c | |||
@@ -2,6 +2,8 @@ | |||
2 | #include <asm/io.h> | 2 | #include <asm/io.h> |
3 | #include <asm/time.h> | 3 | #include <asm/time.h> |
4 | 4 | ||
5 | extern void qemu_reboot_setup(void); | ||
6 | |||
5 | #define QEMU_PORT_BASE 0xb4000000 | 7 | #define QEMU_PORT_BASE 0xb4000000 |
6 | 8 | ||
7 | const char *get_system_type(void) | 9 | const char *get_system_type(void) |
@@ -18,8 +20,10 @@ static void __init qemu_timer_setup(struct irqaction *irq) | |||
18 | setup_irq(0, irq); | 20 | setup_irq(0, irq); |
19 | } | 21 | } |
20 | 22 | ||
21 | void __init plat_setup(void) | 23 | void __init plat_mem_setup(void) |
22 | { | 24 | { |
23 | set_io_port_base(QEMU_PORT_BASE); | 25 | set_io_port_base(QEMU_PORT_BASE); |
24 | board_timer_setup = qemu_timer_setup; | 26 | board_timer_setup = qemu_timer_setup; |
27 | |||
28 | qemu_reboot_setup(); | ||
25 | } | 29 | } |