diff options
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt288x')
4 files changed, 0 insertions, 36 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile b/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile index c8c9712..fc06fa4 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile @@ -11,5 +11,3 @@ obj-y := prom.o irq.o setup.o rt288x.o devices.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o - -obj-$(CONFIG_RT288X_MACH_GENERIC) += mach-generic.o diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-generic.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-generic.c deleted file mode 100644 index e4f3830..0000000 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-generic.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Generic RT288x machine setup - * - * Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org> - * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published - * by the Free Software Foundation. - */ - -#include <linux/init.h> - -#include <asm/mach-ralink/rt288x.h> -#include <asm/mips_machine.h> - -static void __init rt288x_generic_init(void) -{ -} - -MIPS_MACHINE(RT288X_MACH_GENERIC, "Generic RT288x board", rt288x_generic_init); diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/prom.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/prom.c index 80ef719..8becfc9 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/prom.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/prom.c @@ -26,8 +26,6 @@ void __init prom_init(void) "fw_arg2=%08x, fw_arg3=%08x\n", (unsigned int)fw_arg0, (unsigned int)fw_arg1, (unsigned int)fw_arg2, (unsigned int)fw_arg3); - - rt288x_mach_type = RT288X_MACH_GENERIC; } void __init prom_free_prom_memory(void) diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c index 05184f0..8dc4b3c 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/setup.c @@ -24,8 +24,6 @@ #include <asm/mach-ralink/rt288x.h> #include <asm/mach-ralink/rt288x_regs.h> -unsigned long rt288x_mach_type; - static void rt288x_restart(char *command) { rt288x_sysc_wr(RT2880_RESET_SYSTEM, SYSC_REG_RESET_CTRL); @@ -101,12 +99,3 @@ void __init plat_time_init(void) { mips_hpt_frequency = rt288x_cpu_freq / 2; } - -static int __init rt288x_machine_setup(void) -{ - mips_machine_setup(rt288x_mach_type); - - return 0; -} - -arch_initcall(rt288x_machine_setup); |