Ralf Baechle | 0711962 | 2005-09-03 15:56:11 -0700 | [diff] [blame] | 1 | #include <linux/init.h> |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 2 | |
3 | #include <asm/i8253.h> | ||||
Ralf Baechle | 0711962 | 2005-09-03 15:56:11 -0700 | [diff] [blame] | 4 | #include <asm/io.h> |
5 | #include <asm/time.h> | ||||
6 | |||||
Thiemo Seufer | c583122 | 2006-05-15 18:59:34 +0100 | [diff] [blame] | 7 | extern void qemu_reboot_setup(void); |
8 | |||||
Ralf Baechle | fd0197d | 2005-08-15 11:24:34 +0000 | [diff] [blame] | 9 | const char *get_system_type(void) |
10 | { | ||||
11 | return "Qemu"; | ||||
12 | } | ||||
13 | |||||
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 14 | void __init plat_time_init(void) |
Ralf Baechle | 0711962 | 2005-09-03 15:56:11 -0700 | [diff] [blame] | 15 | { |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 16 | setup_pit_timer(); |
Ralf Baechle | 0711962 | 2005-09-03 15:56:11 -0700 | [diff] [blame] | 17 | } |
18 | |||||
Ralf Baechle | 2925aba | 2006-06-18 01:32:22 +0100 | [diff] [blame] | 19 | void __init plat_mem_setup(void) |
Ralf Baechle | 0711962 | 2005-09-03 15:56:11 -0700 | [diff] [blame] | 20 | { |
Thiemo Seufer | c583122 | 2006-05-15 18:59:34 +0100 | [diff] [blame] | 21 | qemu_reboot_setup(); |
Ralf Baechle | 0711962 | 2005-09-03 15:56:11 -0700 | [diff] [blame] | 22 | } |