2005-09-03 16:56:11 -06:00
|
|
|
#include <linux/init.h>
|
2007-10-11 16:46:10 -06:00
|
|
|
|
|
|
|
#include <asm/i8253.h>
|
2005-09-03 16:56:11 -06:00
|
|
|
#include <asm/io.h>
|
|
|
|
#include <asm/time.h>
|
|
|
|
|
2006-05-15 11:59:34 -06:00
|
|
|
extern void qemu_reboot_setup(void);
|
|
|
|
|
2005-08-15 05:24:34 -06:00
|
|
|
const char *get_system_type(void)
|
|
|
|
{
|
|
|
|
return "Qemu";
|
|
|
|
}
|
|
|
|
|
2007-10-11 16:46:10 -06:00
|
|
|
void __init plat_time_init(void)
|
2005-09-03 16:56:11 -06:00
|
|
|
{
|
2007-10-11 16:46:10 -06:00
|
|
|
setup_pit_timer();
|
2005-09-03 16:56:11 -06:00
|
|
|
}
|
|
|
|
|
2006-06-17 18:32:22 -06:00
|
|
|
void __init plat_mem_setup(void)
|
2005-09-03 16:56:11 -06:00
|
|
|
{
|
2006-05-15 11:59:34 -06:00
|
|
|
qemu_reboot_setup();
|
2005-09-03 16:56:11 -06:00
|
|
|
}
|