diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-10-26 09:42:31 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:14:55 -0500 |
commit | 7f3f4900619743f4e3af21e9228748c3d692a2c2 (patch) | |
tree | 71b1924fc4abeedd95fa0b97da8abbf5e631a61c /arch/mips/philips | |
parent | 417345d8f5bacc291138c99a292a8ca69947530e (diff) |
[MIPS] remove unused mips_machtype
Removed unused mips_machtype. These are only set but not used.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/philips')
-rw-r--r-- | arch/mips/philips/pnx8550/jbs/init.c | 3 | ||||
-rw-r--r-- | arch/mips/philips/pnx8550/stb810/prom_init.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/philips/pnx8550/jbs/init.c b/arch/mips/philips/pnx8550/jbs/init.c index cfd90fa3d799..90b4d35f3ece 100644 --- a/arch/mips/philips/pnx8550/jbs/init.c +++ b/arch/mips/philips/pnx8550/jbs/init.c | |||
@@ -45,11 +45,8 @@ const char *get_system_type(void) | |||
45 | 45 | ||
46 | void __init prom_init(void) | 46 | void __init prom_init(void) |
47 | { | 47 | { |
48 | |||
49 | unsigned long memsize; | 48 | unsigned long memsize; |
50 | 49 | ||
51 | mips_machtype = MACH_PHILIPS_JBS; | ||
52 | |||
53 | //memsize = 0x02800000; /* Trimedia uses memory above */ | 50 | //memsize = 0x02800000; /* Trimedia uses memory above */ |
54 | memsize = 0x08000000; /* Trimedia uses memory above */ | 51 | memsize = 0x08000000; /* Trimedia uses memory above */ |
55 | add_memory_region(0, memsize, BOOT_MEM_RAM); | 52 | add_memory_region(0, memsize, BOOT_MEM_RAM); |
diff --git a/arch/mips/philips/pnx8550/stb810/prom_init.c b/arch/mips/philips/pnx8550/stb810/prom_init.c index fdb33ed089b9..832dd60b0a7a 100644 --- a/arch/mips/philips/pnx8550/stb810/prom_init.c +++ b/arch/mips/philips/pnx8550/stb810/prom_init.c | |||
@@ -41,8 +41,6 @@ void __init prom_init(void) | |||
41 | 41 | ||
42 | prom_init_cmdline(); | 42 | prom_init_cmdline(); |
43 | 43 | ||
44 | mips_machtype = MACH_PHILIPS_STB810; | ||
45 | |||
46 | memsize = 0x08000000; /* Trimedia uses memory above */ | 44 | memsize = 0x08000000; /* Trimedia uses memory above */ |
47 | add_memory_region(0, memsize, BOOT_MEM_RAM); | 45 | add_memory_region(0, memsize, BOOT_MEM_RAM); |
48 | } | 46 | } |