diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 10:15:02 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 10:15:02 +0000 |
commit | 302922e5f6901eb6f29c58539631f71b3d9746b8 (patch) | |
tree | b7e41f0da3bc8710363ab6cd020ace21d35a9ac6 /arch/mips/qemu/q-setup.c | |
parent | 9900485893c004245cbaeef050fe6ba5453a5925 (diff) |
[MIPS] Qemu: Remove platform.
The Qemu platform was originally implemented to have an easily supportable
platform until Qemu reaches a state where it emulates a real world system.
Since the latest release Qemu is capable of emulating the MIPSsim and
Malta platforms, so this goal has been reached. The Qemu plaform is also
rather underfeatured so less useful than a Malta emulation.
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.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c deleted file mode 100644 index 9f0c2d3c67e..00000000000 --- a/arch/mips/qemu/q-setup.c +++ /dev/null @@ -1,37 +0,0 @@ -#include <linux/init.h> -#include <linux/platform_device.h> - -#include <asm/i8253.h> -#include <asm/io.h> -#include <asm/time.h> - -extern void qemu_reboot_setup(void); - -const char *get_system_type(void) -{ - return "Qemu"; -} - -void __init plat_time_init(void) -{ - setup_pit_timer(); -} - -void __init plat_mem_setup(void) -{ - qemu_reboot_setup(); -} - -static struct platform_device pcspeaker_pdev = { - .name = "pcspkr", - .id = -1, -}; - -static int __init qemu_platform_devinit(void) -{ - platform_device_register(&pcspeaker_pdev); - - return 0; -} - -device_initcall(qemu_platform_devinit); |