diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-10-24 10:16:56 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:14:55 -0500 |
commit | 8b6c2324bf2b023e26d53052bbcddcbf2f2c97ee (patch) | |
tree | bcf2ffec2908d61e40efe902508236aa73fad872 /arch/mips/tx4938 | |
parent | 619b6e18fce20e4b2d0082cde989f37e1be7b3e1 (diff) |
[MIPS] cleanup tx39/tx49 setup code
Remove some unnecessary codes, includes and files.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/tx4938')
-rw-r--r-- | arch/mips/tx4938/common/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/tx4938/common/setup.c | 45 | ||||
-rw-r--r-- | arch/mips/tx4938/toshiba_rbtx4938/setup.c | 6 |
3 files changed, 2 insertions, 51 deletions
diff --git a/arch/mips/tx4938/common/Makefile b/arch/mips/tx4938/common/Makefile index 8352eca67906..c5c6ceaa71ca 100644 --- a/arch/mips/tx4938/common/Makefile +++ b/arch/mips/tx4938/common/Makefile | |||
@@ -6,7 +6,7 @@ | |||
6 | # unless it's something special (ie not a .c file). | 6 | # unless it's something special (ie not a .c file). |
7 | # | 7 | # |
8 | 8 | ||
9 | obj-y += prom.o setup.o irq.o | 9 | obj-y += prom.o irq.o |
10 | obj-$(CONFIG_KGDB) += dbgio.o | 10 | obj-$(CONFIG_KGDB) += dbgio.o |
11 | 11 | ||
12 | EXTRA_CFLAGS += -Werror | 12 | EXTRA_CFLAGS += -Werror |
diff --git a/arch/mips/tx4938/common/setup.c b/arch/mips/tx4938/common/setup.c deleted file mode 100644 index 3ba4101d141e..000000000000 --- a/arch/mips/tx4938/common/setup.c +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/mips/tx4938/common/setup.c | ||
3 | * | ||
4 | * common tx4938 setup routines | ||
5 | * | ||
6 | * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the | ||
7 | * terms of the GNU General Public License version 2. This program is | ||
8 | * licensed "as is" without any warranty of any kind, whether express | ||
9 | * or implied. | ||
10 | * | ||
11 | * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com) | ||
12 | */ | ||
13 | |||
14 | #include <linux/errno.h> | ||
15 | #include <linux/init.h> | ||
16 | #include <linux/kernel_stat.h> | ||
17 | #include <linux/module.h> | ||
18 | #include <linux/signal.h> | ||
19 | #include <linux/sched.h> | ||
20 | #include <linux/types.h> | ||
21 | #include <linux/interrupt.h> | ||
22 | #include <linux/ioport.h> | ||
23 | #include <linux/timex.h> | ||
24 | #include <linux/slab.h> | ||
25 | #include <linux/random.h> | ||
26 | #include <linux/irq.h> | ||
27 | #include <linux/bitops.h> | ||
28 | #include <asm/bootinfo.h> | ||
29 | #include <asm/io.h> | ||
30 | #include <asm/irq.h> | ||
31 | #include <asm/mipsregs.h> | ||
32 | #include <asm/system.h> | ||
33 | #include <asm/time.h> | ||
34 | #include <asm/tx4938/rbtx4938.h> | ||
35 | |||
36 | extern void toshiba_rbtx4938_setup(void); | ||
37 | |||
38 | void __init tx4938_setup(void); | ||
39 | void dump_cp0(char *key); | ||
40 | |||
41 | void __init | ||
42 | plat_mem_setup(void) | ||
43 | { | ||
44 | toshiba_rbtx4938_setup(); | ||
45 | } | ||
diff --git a/arch/mips/tx4938/toshiba_rbtx4938/setup.c b/arch/mips/tx4938/toshiba_rbtx4938/setup.c index 632e5d201353..2333d9ff879d 100644 --- a/arch/mips/tx4938/toshiba_rbtx4938/setup.c +++ b/arch/mips/tx4938/toshiba_rbtx4938/setup.c | |||
@@ -24,16 +24,12 @@ | |||
24 | 24 | ||
25 | #include <asm/wbflush.h> | 25 | #include <asm/wbflush.h> |
26 | #include <asm/reboot.h> | 26 | #include <asm/reboot.h> |
27 | #include <asm/irq.h> | ||
28 | #include <asm/time.h> | 27 | #include <asm/time.h> |
29 | #include <asm/txx9tmr.h> | 28 | #include <asm/txx9tmr.h> |
30 | #include <asm/uaccess.h> | ||
31 | #include <asm/io.h> | 29 | #include <asm/io.h> |
32 | #include <asm/bootinfo.h> | 30 | #include <asm/bootinfo.h> |
33 | #include <asm/tx4938/rbtx4938.h> | 31 | #include <asm/tx4938/rbtx4938.h> |
34 | #ifdef CONFIG_SERIAL_TXX9 | 32 | #ifdef CONFIG_SERIAL_TXX9 |
35 | #include <linux/tty.h> | ||
36 | #include <linux/serial.h> | ||
37 | #include <linux/serial_core.h> | 33 | #include <linux/serial_core.h> |
38 | #endif | 34 | #endif |
39 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
@@ -855,7 +851,7 @@ void __init plat_time_init(void) | |||
855 | txx9_gbus_clock / 2); | 851 | txx9_gbus_clock / 2); |
856 | } | 852 | } |
857 | 853 | ||
858 | void __init toshiba_rbtx4938_setup(void) | 854 | void __init plat_mem_setup(void) |
859 | { | 855 | { |
860 | unsigned long long pcfg; | 856 | unsigned long long pcfg; |
861 | char *argptr; | 857 | char *argptr; |