diff options
28 files changed, 4 insertions, 84 deletions
diff --git a/arch/mips/au1000/db1x00/init.c b/arch/mips/au1000/db1x00/init.c index 0a3f025eb023..e6bdd07cc093 100644 --- a/arch/mips/au1000/db1x00/init.c +++ b/arch/mips/au1000/db1x00/init.c | |||
@@ -59,8 +59,6 @@ void __init prom_init(void) | |||
59 | prom_argv = (char **) fw_arg1; | 59 | prom_argv = (char **) fw_arg1; |
60 | prom_envp = (char **) fw_arg2; | 60 | prom_envp = (char **) fw_arg2; |
61 | 61 | ||
62 | mips_machgroup = MACH_GROUP_ALCHEMY; | ||
63 | |||
64 | /* Set the platform # */ | 62 | /* Set the platform # */ |
65 | #if defined (CONFIG_MIPS_DB1550) | 63 | #if defined (CONFIG_MIPS_DB1550) |
66 | mips_machtype = MACH_DB1550; | 64 | mips_machtype = MACH_DB1550; |
diff --git a/arch/mips/au1000/mtx-1/init.c b/arch/mips/au1000/mtx-1/init.c index 88f2b6d97281..2aa7b2ed6a8c 100644 --- a/arch/mips/au1000/mtx-1/init.c +++ b/arch/mips/au1000/mtx-1/init.c | |||
@@ -56,7 +56,6 @@ void __init prom_init(void) | |||
56 | prom_argv = (char **) fw_arg1; | 56 | prom_argv = (char **) fw_arg1; |
57 | prom_envp = (char **) fw_arg2; | 57 | prom_envp = (char **) fw_arg2; |
58 | 58 | ||
59 | mips_machgroup = MACH_GROUP_ALCHEMY; | ||
60 | mips_machtype = MACH_MTX1; /* set the platform # */ | 59 | mips_machtype = MACH_MTX1; /* set the platform # */ |
61 | 60 | ||
62 | prom_init_cmdline(); | 61 | prom_init_cmdline(); |
diff --git a/arch/mips/au1000/pb1000/init.c b/arch/mips/au1000/pb1000/init.c index e9fa1bab81f3..4535f7208e18 100644 --- a/arch/mips/au1000/pb1000/init.c +++ b/arch/mips/au1000/pb1000/init.c | |||
@@ -54,7 +54,6 @@ void __init prom_init(void) | |||
54 | prom_argv = (char **) fw_arg1; | 54 | prom_argv = (char **) fw_arg1; |
55 | prom_envp = (char **) fw_arg2; | 55 | prom_envp = (char **) fw_arg2; |
56 | 56 | ||
57 | mips_machgroup = MACH_GROUP_ALCHEMY; | ||
58 | mips_machtype = MACH_PB1000; | 57 | mips_machtype = MACH_PB1000; |
59 | 58 | ||
60 | prom_init_cmdline(); | 59 | prom_init_cmdline(); |
diff --git a/arch/mips/au1000/pb1100/init.c b/arch/mips/au1000/pb1100/init.c index 6131b56f41b5..7ba6852de7cd 100644 --- a/arch/mips/au1000/pb1100/init.c +++ b/arch/mips/au1000/pb1100/init.c | |||
@@ -55,7 +55,6 @@ void __init prom_init(void) | |||
55 | prom_argv = (char **) fw_arg1; | 55 | prom_argv = (char **) fw_arg1; |
56 | prom_envp = (char **) fw_arg3; | 56 | prom_envp = (char **) fw_arg3; |
57 | 57 | ||
58 | mips_machgroup = MACH_GROUP_ALCHEMY; | ||
59 | mips_machtype = MACH_PB1100; | 58 | mips_machtype = MACH_PB1100; |
60 | 59 | ||
61 | prom_init_cmdline(); | 60 | prom_init_cmdline(); |
diff --git a/arch/mips/au1000/pb1200/init.c b/arch/mips/au1000/pb1200/init.c index 27f09e374e15..5a70029d5388 100644 --- a/arch/mips/au1000/pb1200/init.c +++ b/arch/mips/au1000/pb1200/init.c | |||
@@ -55,7 +55,6 @@ void __init prom_init(void) | |||
55 | prom_argv = (char **) fw_arg1; | 55 | prom_argv = (char **) fw_arg1; |
56 | prom_envp = (char **) fw_arg2; | 56 | prom_envp = (char **) fw_arg2; |
57 | 57 | ||
58 | mips_machgroup = MACH_GROUP_ALCHEMY; | ||
59 | mips_machtype = MACH_PB1200; | 58 | mips_machtype = MACH_PB1200; |
60 | 59 | ||
61 | prom_init_cmdline(); | 60 | prom_init_cmdline(); |
diff --git a/arch/mips/au1000/pb1500/init.c b/arch/mips/au1000/pb1500/init.c index 733d2e469db2..e58a9d6c5021 100644 --- a/arch/mips/au1000/pb1500/init.c +++ b/arch/mips/au1000/pb1500/init.c | |||
@@ -55,7 +55,6 @@ void __init prom_init(void) | |||
55 | prom_argv = (char **) fw_arg1; | 55 | prom_argv = (char **) fw_arg1; |
56 | prom_envp = (char **) fw_arg2; | 56 | prom_envp = (char **) fw_arg2; |
57 | 57 | ||
58 | mips_machgroup = MACH_GROUP_ALCHEMY; | ||
59 | mips_machtype = MACH_PB1500; | 58 | mips_machtype = MACH_PB1500; |
60 | 59 | ||
61 | prom_init_cmdline(); | 60 | prom_init_cmdline(); |
diff --git a/arch/mips/au1000/pb1550/init.c b/arch/mips/au1000/pb1550/init.c index 41daa3371be3..fad53bf5aad1 100644 --- a/arch/mips/au1000/pb1550/init.c +++ b/arch/mips/au1000/pb1550/init.c | |||
@@ -55,7 +55,6 @@ void __init prom_init(void) | |||
55 | prom_argv = (char **) fw_arg1; | 55 | prom_argv = (char **) fw_arg1; |
56 | prom_envp = (char **) fw_arg2; | 56 | prom_envp = (char **) fw_arg2; |
57 | 57 | ||
58 | mips_machgroup = MACH_GROUP_ALCHEMY; | ||
59 | mips_machtype = MACH_PB1550; | 58 | mips_machtype = MACH_PB1550; |
60 | 59 | ||
61 | prom_init_cmdline(); | 60 | prom_init_cmdline(); |
diff --git a/arch/mips/au1000/xxs1500/init.c b/arch/mips/au1000/xxs1500/init.c index f1c76533b6fc..9f839c36f69e 100644 --- a/arch/mips/au1000/xxs1500/init.c +++ b/arch/mips/au1000/xxs1500/init.c | |||
@@ -54,7 +54,6 @@ void __init prom_init(void) | |||
54 | prom_argv = (char **) fw_arg1; | 54 | prom_argv = (char **) fw_arg1; |
55 | prom_envp = (char **) fw_arg2; | 55 | prom_envp = (char **) fw_arg2; |
56 | 56 | ||
57 | mips_machgroup = MACH_GROUP_ALCHEMY; | ||
58 | mips_machtype = MACH_XXS1500; /* set the platform # */ | 57 | mips_machtype = MACH_XXS1500; /* set the platform # */ |
59 | 58 | ||
60 | prom_init_cmdline(); | 59 | prom_init_cmdline(); |
diff --git a/arch/mips/basler/excite/excite_prom.c b/arch/mips/basler/excite/excite_prom.c index 6ecd512b999d..2d752c2f6e59 100644 --- a/arch/mips/basler/excite/excite_prom.c +++ b/arch/mips/basler/excite/excite_prom.c | |||
@@ -136,7 +136,6 @@ void __init prom_init(void) | |||
136 | # error 64 bit support not implemented | 136 | # error 64 bit support not implemented |
137 | #endif /* CONFIG_64BIT */ | 137 | #endif /* CONFIG_64BIT */ |
138 | 138 | ||
139 | mips_machgroup = MACH_GROUP_TITAN; | ||
140 | mips_machtype = MACH_TITAN_EXCITE; | 139 | mips_machtype = MACH_TITAN_EXCITE; |
141 | } | 140 | } |
142 | 141 | ||
diff --git a/arch/mips/cobalt/setup.c b/arch/mips/cobalt/setup.c index fc9cbb251edc..5d2e8790b28b 100644 --- a/arch/mips/cobalt/setup.c +++ b/arch/mips/cobalt/setup.c | |||
@@ -114,8 +114,6 @@ void __init prom_init(void) | |||
114 | unsigned long memsz; | 114 | unsigned long memsz; |
115 | char **argv; | 115 | char **argv; |
116 | 116 | ||
117 | mips_machgroup = MACH_GROUP_COBALT; | ||
118 | |||
119 | memsz = fw_arg0 & 0x7fff0000; | 117 | memsz = fw_arg0 & 0x7fff0000; |
120 | narg = fw_arg0 & 0x0000ffff; | 118 | narg = fw_arg0 & 0x0000ffff; |
121 | 119 | ||
diff --git a/arch/mips/dec/prom/identify.c b/arch/mips/dec/prom/identify.c index cd85924e2572..95e26f4bb38f 100644 --- a/arch/mips/dec/prom/identify.c +++ b/arch/mips/dec/prom/identify.c | |||
@@ -133,9 +133,6 @@ void __init prom_identify_arch(u32 magic) | |||
133 | dec_firmrev = (dec_sysid & 0xff00) >> 8; | 133 | dec_firmrev = (dec_sysid & 0xff00) >> 8; |
134 | dec_etc = dec_sysid & 0xff; | 134 | dec_etc = dec_sysid & 0xff; |
135 | 135 | ||
136 | /* We're obviously one of the DEC machines */ | ||
137 | mips_machgroup = MACH_GROUP_DEC; | ||
138 | |||
139 | /* | 136 | /* |
140 | * FIXME: This may not be an exhaustive list of DECStations/Servers! | 137 | * FIXME: This may not be an exhaustive list of DECStations/Servers! |
141 | * Put all model-specific initialisation calls here. | 138 | * Put all model-specific initialisation calls here. |
diff --git a/arch/mips/emma2rh/common/prom.c b/arch/mips/emma2rh/common/prom.c index 7433bd8e5562..0f791eb6bb66 100644 --- a/arch/mips/emma2rh/common/prom.c +++ b/arch/mips/emma2rh/common/prom.c | |||
@@ -62,8 +62,6 @@ void __init prom_init(void) | |||
62 | strcat(arcs_cmdline, " "); | 62 | strcat(arcs_cmdline, " "); |
63 | } | 63 | } |
64 | 64 | ||
65 | mips_machgroup = MACH_GROUP_NEC_EMMA2RH; | ||
66 | |||
67 | #if defined(CONFIG_MARKEINS) | 65 | #if defined(CONFIG_MARKEINS) |
68 | mips_machtype = MACH_NEC_MARKEINS; | 66 | mips_machtype = MACH_NEC_MARKEINS; |
69 | add_memory_region(0, EMMA2RH_RAM_SIZE, BOOT_MEM_RAM); | 67 | add_memory_region(0, EMMA2RH_RAM_SIZE, BOOT_MEM_RAM); |
diff --git a/arch/mips/fw/arc/identify.c b/arch/mips/fw/arc/identify.c index 5d28dbe06f40..28dfd2e2989a 100644 --- a/arch/mips/fw/arc/identify.c +++ b/arch/mips/fw/arc/identify.c | |||
@@ -22,7 +22,6 @@ | |||
22 | struct smatch { | 22 | struct smatch { |
23 | char *arcname; | 23 | char *arcname; |
24 | char *liname; | 24 | char *liname; |
25 | int group; | ||
26 | int type; | 25 | int type; |
27 | int flags; | 26 | int flags; |
28 | }; | 27 | }; |
@@ -31,49 +30,41 @@ static struct smatch mach_table[] = { | |||
31 | { | 30 | { |
32 | .arcname = "SGI-IP22", | 31 | .arcname = "SGI-IP22", |
33 | .liname = "SGI Indy", | 32 | .liname = "SGI Indy", |
34 | .group = MACH_GROUP_SGI, | ||
35 | .type = MACH_SGI_IP22, | 33 | .type = MACH_SGI_IP22, |
36 | .flags = PROM_FLAG_ARCS, | 34 | .flags = PROM_FLAG_ARCS, |
37 | }, { | 35 | }, { |
38 | .arcname = "SGI-IP27", | 36 | .arcname = "SGI-IP27", |
39 | .liname = "SGI Origin", | 37 | .liname = "SGI Origin", |
40 | .group = MACH_GROUP_SGI, | ||
41 | .type = MACH_SGI_IP27, | 38 | .type = MACH_SGI_IP27, |
42 | .flags = PROM_FLAG_ARCS, | 39 | .flags = PROM_FLAG_ARCS, |
43 | }, { | 40 | }, { |
44 | .arcname = "SGI-IP28", | 41 | .arcname = "SGI-IP28", |
45 | .liname = "SGI IP28", | 42 | .liname = "SGI IP28", |
46 | .group = MACH_GROUP_SGI, | ||
47 | .type = MACH_SGI_IP28, | 43 | .type = MACH_SGI_IP28, |
48 | .flags = PROM_FLAG_ARCS, | 44 | .flags = PROM_FLAG_ARCS, |
49 | }, { | 45 | }, { |
50 | .arcname = "SGI-IP30", | 46 | .arcname = "SGI-IP30", |
51 | .liname = "SGI Octane", | 47 | .liname = "SGI Octane", |
52 | .group = MACH_GROUP_SGI, | ||
53 | .type = MACH_SGI_IP30, | 48 | .type = MACH_SGI_IP30, |
54 | .flags = PROM_FLAG_ARCS, | 49 | .flags = PROM_FLAG_ARCS, |
55 | }, { | 50 | }, { |
56 | .arcname = "SGI-IP32", | 51 | .arcname = "SGI-IP32", |
57 | .liname = "SGI O2", | 52 | .liname = "SGI O2", |
58 | .group = MACH_GROUP_SGI, | ||
59 | .type = MACH_SGI_IP32, | 53 | .type = MACH_SGI_IP32, |
60 | .flags = PROM_FLAG_ARCS, | 54 | .flags = PROM_FLAG_ARCS, |
61 | }, { | 55 | }, { |
62 | .arcname = "Microsoft-Jazz", | 56 | .arcname = "Microsoft-Jazz", |
63 | .liname = "Jazz MIPS_Magnum_4000", | 57 | .liname = "Jazz MIPS_Magnum_4000", |
64 | .group = MACH_GROUP_JAZZ, | ||
65 | .type = MACH_MIPS_MAGNUM_4000, | 58 | .type = MACH_MIPS_MAGNUM_4000, |
66 | .flags = 0, | 59 | .flags = 0, |
67 | }, { | 60 | }, { |
68 | .arcname = "PICA-61", | 61 | .arcname = "PICA-61", |
69 | .liname = "Jazz Acer_PICA_61", | 62 | .liname = "Jazz Acer_PICA_61", |
70 | .group = MACH_GROUP_JAZZ, | ||
71 | .type = MACH_ACER_PICA_61, | 63 | .type = MACH_ACER_PICA_61, |
72 | .flags = 0, | 64 | .flags = 0, |
73 | }, { | 65 | }, { |
74 | .arcname = "RM200PCI", | 66 | .arcname = "RM200PCI", |
75 | .liname = "SNI RM200_PCI", | 67 | .liname = "SNI RM200_PCI", |
76 | .group = MACH_GROUP_SNI_RM, | ||
77 | .type = MACH_SNI_RM200_PCI, | 68 | .type = MACH_SNI_RM200_PCI, |
78 | .flags = PROM_FLAG_DONT_FREE_TEMP, | 69 | .flags = PROM_FLAG_DONT_FREE_TEMP, |
79 | } | 70 | } |
@@ -125,7 +116,6 @@ void __init prom_identify_arch(void) | |||
125 | mach = string_to_mach(iname); | 116 | mach = string_to_mach(iname); |
126 | system_type = mach->liname; | 117 | system_type = mach->liname; |
127 | 118 | ||
128 | mips_machgroup = mach->group; | ||
129 | mips_machtype = mach->type; | 119 | mips_machtype = mach->type; |
130 | prom_flags = mach->flags; | 120 | prom_flags = mach->flags; |
131 | } | 121 | } |
diff --git a/arch/mips/gt64120/wrppmc/setup.c b/arch/mips/gt64120/wrppmc/setup.c index ed58c13b6032..238b5087fbb3 100644 --- a/arch/mips/gt64120/wrppmc/setup.c +++ b/arch/mips/gt64120/wrppmc/setup.c | |||
@@ -159,7 +159,6 @@ const char *get_system_type(void) | |||
159 | */ | 159 | */ |
160 | void __init prom_init(void) | 160 | void __init prom_init(void) |
161 | { | 161 | { |
162 | mips_machgroup = MACH_GROUP_WINDRIVER; | ||
163 | mips_machtype = MACH_WRPPMC; | 162 | mips_machtype = MACH_WRPPMC; |
164 | 163 | ||
165 | add_memory_region(WRPPMC_SDRAM_SCS0_BASE, WRPPMC_SDRAM_SCS0_SIZE, BOOT_MEM_RAM); | 164 | add_memory_region(WRPPMC_SDRAM_SCS0_BASE, WRPPMC_SDRAM_SCS0_SIZE, BOOT_MEM_RAM); |
diff --git a/arch/mips/jmr3927/rbhma3100/init.c b/arch/mips/jmr3927/rbhma3100/init.c index 9169fab1773a..b643f75ec9a5 100644 --- a/arch/mips/jmr3927/rbhma3100/init.c +++ b/arch/mips/jmr3927/rbhma3100/init.c | |||
@@ -51,7 +51,6 @@ void __init prom_init(void) | |||
51 | if ((tx3927_ccfgptr->ccfg & TX3927_CCFG_TLBOFF) == 0) | 51 | if ((tx3927_ccfgptr->ccfg & TX3927_CCFG_TLBOFF) == 0) |
52 | puts("Warning: TX3927 TLB off\n"); | 52 | puts("Warning: TX3927 TLB off\n"); |
53 | #endif | 53 | #endif |
54 | mips_machgroup = MACH_GROUP_TOSHIBA; | ||
55 | 54 | ||
56 | #ifdef CONFIG_TOSHIBA_JMR3927 | 55 | #ifdef CONFIG_TOSHIBA_JMR3927 |
57 | mips_machtype = MACH_TOSHIBA_JMR3927; | 56 | mips_machtype = MACH_TOSHIBA_JMR3927; |
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 316685fca059..a06a27d6cfcd 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c | |||
@@ -51,10 +51,8 @@ EXPORT_SYMBOL(PCI_DMA_BUS_IS_PHYS); | |||
51 | * These are initialized so they are in the .data section | 51 | * These are initialized so they are in the .data section |
52 | */ | 52 | */ |
53 | unsigned long mips_machtype __read_mostly = MACH_UNKNOWN; | 53 | unsigned long mips_machtype __read_mostly = MACH_UNKNOWN; |
54 | unsigned long mips_machgroup __read_mostly = MACH_GROUP_UNKNOWN; | ||
55 | 54 | ||
56 | EXPORT_SYMBOL(mips_machtype); | 55 | EXPORT_SYMBOL(mips_machtype); |
57 | EXPORT_SYMBOL(mips_machgroup); | ||
58 | 56 | ||
59 | struct boot_mem_map boot_mem_map; | 57 | struct boot_mem_map boot_mem_map; |
60 | 58 | ||
diff --git a/arch/mips/lasat/prom.c b/arch/mips/lasat/prom.c index 4b80fffcf262..209edcc26f07 100644 --- a/arch/mips/lasat/prom.c +++ b/arch/mips/lasat/prom.c | |||
@@ -100,8 +100,6 @@ void __init prom_init(void) | |||
100 | 100 | ||
101 | lasat_init_board_info(); /* Read info from EEPROM */ | 101 | lasat_init_board_info(); /* Read info from EEPROM */ |
102 | 102 | ||
103 | mips_machgroup = MACH_GROUP_LASAT; | ||
104 | |||
105 | /* Get the command line */ | 103 | /* Get the command line */ |
106 | if (argc > 0) { | 104 | if (argc > 0) { |
107 | strncpy(arcs_cmdline, argv[0], CL_SIZE-1); | 105 | strncpy(arcs_cmdline, argv[0], CL_SIZE-1); |
diff --git a/arch/mips/lemote/lm2e/prom.c b/arch/mips/lemote/lm2e/prom.c index 3efb1cf111f2..824336812198 100644 --- a/arch/mips/lemote/lm2e/prom.c +++ b/arch/mips/lemote/lm2e/prom.c | |||
@@ -57,7 +57,6 @@ void __init prom_init(void) | |||
57 | arg = (int *)fw_arg1; | 57 | arg = (int *)fw_arg1; |
58 | env = (int *)fw_arg2; | 58 | env = (int *)fw_arg2; |
59 | 59 | ||
60 | mips_machgroup = MACH_GROUP_LEMOTE; | ||
61 | mips_machtype = MACH_LEMOTE_FULONG; | 60 | mips_machtype = MACH_LEMOTE_FULONG; |
62 | 61 | ||
63 | prom_init_cmdline(); | 62 | prom_init_cmdline(); |
diff --git a/arch/mips/philips/pnx8550/jbs/init.c b/arch/mips/philips/pnx8550/jbs/init.c index 85f449174bc3..cfd90fa3d799 100644 --- a/arch/mips/philips/pnx8550/jbs/init.c +++ b/arch/mips/philips/pnx8550/jbs/init.c | |||
@@ -48,7 +48,6 @@ void __init prom_init(void) | |||
48 | 48 | ||
49 | unsigned long memsize; | 49 | unsigned long memsize; |
50 | 50 | ||
51 | mips_machgroup = MACH_GROUP_PHILIPS; | ||
52 | mips_machtype = MACH_PHILIPS_JBS; | 51 | mips_machtype = MACH_PHILIPS_JBS; |
53 | 52 | ||
54 | //memsize = 0x02800000; /* Trimedia uses memory above */ | 53 | //memsize = 0x02800000; /* Trimedia uses memory above */ |
diff --git a/arch/mips/philips/pnx8550/stb810/prom_init.c b/arch/mips/philips/pnx8550/stb810/prom_init.c index ea5b4e0fb47d..fdb33ed089b9 100644 --- a/arch/mips/philips/pnx8550/stb810/prom_init.c +++ b/arch/mips/philips/pnx8550/stb810/prom_init.c | |||
@@ -41,7 +41,6 @@ void __init prom_init(void) | |||
41 | 41 | ||
42 | prom_init_cmdline(); | 42 | prom_init_cmdline(); |
43 | 43 | ||
44 | mips_machgroup = MACH_GROUP_PHILIPS; | ||
45 | mips_machtype = MACH_PHILIPS_STB810; | 44 | mips_machtype = MACH_PHILIPS_STB810; |
46 | 45 | ||
47 | memsize = 0x08000000; /* Trimedia uses memory above */ | 46 | memsize = 0x08000000; /* Trimedia uses memory above */ |
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_setup.c b/arch/mips/pmc-sierra/msp71xx/msp_setup.c index 8f69b789be90..e4cc54824475 100644 --- a/arch/mips/pmc-sierra/msp71xx/msp_setup.c +++ b/arch/mips/pmc-sierra/msp71xx/msp_setup.c | |||
@@ -176,16 +176,13 @@ void __init prom_init(void) | |||
176 | case FAMILY_FPGA: | 176 | case FAMILY_FPGA: |
177 | if (FPGA_IS_MSP4200(revision)) { | 177 | if (FPGA_IS_MSP4200(revision)) { |
178 | /* Old-style revision ID */ | 178 | /* Old-style revision ID */ |
179 | mips_machgroup = MACH_GROUP_MSP; | ||
180 | mips_machtype = MACH_MSP4200_FPGA; | 179 | mips_machtype = MACH_MSP4200_FPGA; |
181 | } else { | 180 | } else { |
182 | mips_machgroup = MACH_GROUP_MSP; | ||
183 | mips_machtype = MACH_MSP_OTHER; | 181 | mips_machtype = MACH_MSP_OTHER; |
184 | } | 182 | } |
185 | break; | 183 | break; |
186 | 184 | ||
187 | case FAMILY_MSP4200: | 185 | case FAMILY_MSP4200: |
188 | mips_machgroup = MACH_GROUP_MSP; | ||
189 | #if defined(CONFIG_PMC_MSP4200_EVAL) | 186 | #if defined(CONFIG_PMC_MSP4200_EVAL) |
190 | mips_machtype = MACH_MSP4200_EVAL; | 187 | mips_machtype = MACH_MSP4200_EVAL; |
191 | #elif defined(CONFIG_PMC_MSP4200_GW) | 188 | #elif defined(CONFIG_PMC_MSP4200_GW) |
@@ -196,12 +193,10 @@ void __init prom_init(void) | |||
196 | break; | 193 | break; |
197 | 194 | ||
198 | case FAMILY_MSP4200_FPGA: | 195 | case FAMILY_MSP4200_FPGA: |
199 | mips_machgroup = MACH_GROUP_MSP; | ||
200 | mips_machtype = MACH_MSP4200_FPGA; | 196 | mips_machtype = MACH_MSP4200_FPGA; |
201 | break; | 197 | break; |
202 | 198 | ||
203 | case FAMILY_MSP7100: | 199 | case FAMILY_MSP7100: |
204 | mips_machgroup = MACH_GROUP_MSP; | ||
205 | #if defined(CONFIG_PMC_MSP7120_EVAL) | 200 | #if defined(CONFIG_PMC_MSP7120_EVAL) |
206 | mips_machtype = MACH_MSP7120_EVAL; | 201 | mips_machtype = MACH_MSP7120_EVAL; |
207 | #elif defined(CONFIG_PMC_MSP7120_GW) | 202 | #elif defined(CONFIG_PMC_MSP7120_GW) |
@@ -212,22 +207,14 @@ void __init prom_init(void) | |||
212 | break; | 207 | break; |
213 | 208 | ||
214 | case FAMILY_MSP7100_FPGA: | 209 | case FAMILY_MSP7100_FPGA: |
215 | mips_machgroup = MACH_GROUP_MSP; | ||
216 | mips_machtype = MACH_MSP7120_FPGA; | 210 | mips_machtype = MACH_MSP7120_FPGA; |
217 | break; | 211 | break; |
218 | 212 | ||
219 | default: | 213 | default: |
220 | /* we don't recognize the machine */ | 214 | /* we don't recognize the machine */ |
221 | mips_machgroup = MACH_GROUP_UNKNOWN; | ||
222 | mips_machtype = MACH_UNKNOWN; | 215 | mips_machtype = MACH_UNKNOWN; |
223 | break; | ||
224 | } | ||
225 | |||
226 | /* make sure we have the right initialization routine - sanity */ | ||
227 | if (mips_machgroup != MACH_GROUP_MSP) { | ||
228 | ppfinit("Unknown machine group in a " | ||
229 | "MSP initialization routine\n"); | ||
230 | panic("***Bogosity factor five***, exiting\n"); | 216 | panic("***Bogosity factor five***, exiting\n"); |
217 | break; | ||
231 | } | 218 | } |
232 | 219 | ||
233 | prom_init_cmdline(); | 220 | prom_init_cmdline(); |
diff --git a/arch/mips/pmc-sierra/yosemite/prom.c b/arch/mips/pmc-sierra/yosemite/prom.c index 0cd78f0f5f2d..9b9936de6589 100644 --- a/arch/mips/pmc-sierra/yosemite/prom.c +++ b/arch/mips/pmc-sierra/yosemite/prom.c | |||
@@ -126,7 +126,6 @@ void __init prom_init(void) | |||
126 | env++; | 126 | env++; |
127 | } | 127 | } |
128 | 128 | ||
129 | mips_machgroup = MACH_GROUP_TITAN; | ||
130 | mips_machtype = MACH_TITAN_YOSEMITE; | 129 | mips_machtype = MACH_TITAN_YOSEMITE; |
131 | 130 | ||
132 | prom_grab_secondary(); | 131 | prom_grab_secondary(); |
diff --git a/arch/mips/sibyte/cfe/setup.c b/arch/mips/sibyte/cfe/setup.c index d842b98efb67..147b7fb02e64 100644 --- a/arch/mips/sibyte/cfe/setup.c +++ b/arch/mips/sibyte/cfe/setup.c | |||
@@ -339,7 +339,6 @@ void __init prom_init(void) | |||
339 | /* Not sure this is needed, but it's the safe way. */ | 339 | /* Not sure this is needed, but it's the safe way. */ |
340 | arcs_cmdline[CL_SIZE-1] = 0; | 340 | arcs_cmdline[CL_SIZE-1] = 0; |
341 | 341 | ||
342 | mips_machgroup = MACH_GROUP_SIBYTE; | ||
343 | prom_meminit(); | 342 | prom_meminit(); |
344 | } | 343 | } |
345 | 344 | ||
diff --git a/arch/mips/sibyte/sb1250/prom.c b/arch/mips/sibyte/sb1250/prom.c index 257c4e674353..f07ad3baccab 100644 --- a/arch/mips/sibyte/sb1250/prom.c +++ b/arch/mips/sibyte/sb1250/prom.c | |||
@@ -83,7 +83,6 @@ void __init prom_init(void) | |||
83 | 83 | ||
84 | strcpy(arcs_cmdline, "root=/dev/ram0 "); | 84 | strcpy(arcs_cmdline, "root=/dev/ram0 "); |
85 | 85 | ||
86 | mips_machgroup = MACH_GROUP_SIBYTE; | ||
87 | prom_meminit(); | 86 | prom_meminit(); |
88 | } | 87 | } |
89 | 88 | ||
diff --git a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_prom.c b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_prom.c index 9a3a5babd1fb..f3f86857beae 100644 --- a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_prom.c +++ b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_prom.c | |||
@@ -66,8 +66,6 @@ void __init prom_init(void) | |||
66 | 66 | ||
67 | prom_init_cmdline(); | 67 | prom_init_cmdline(); |
68 | 68 | ||
69 | mips_machgroup = MACH_GROUP_TOSHIBA; | ||
70 | |||
71 | if ((read_c0_prid() & 0xff) == PRID_REV_TX4927) { | 69 | if ((read_c0_prid() & 0xff) == PRID_REV_TX4927) { |
72 | mips_machtype = MACH_TOSHIBA_RBTX4927; | 70 | mips_machtype = MACH_TOSHIBA_RBTX4927; |
73 | toshiba_name = "TX4927"; | 71 | toshiba_name = "TX4927"; |
diff --git a/arch/mips/tx4938/toshiba_rbtx4938/prom.c b/arch/mips/tx4938/toshiba_rbtx4938/prom.c index 7dc6a0aae21c..69f21c1b7942 100644 --- a/arch/mips/tx4938/toshiba_rbtx4938/prom.c +++ b/arch/mips/tx4938/toshiba_rbtx4938/prom.c | |||
@@ -47,7 +47,6 @@ void __init prom_init(void) | |||
47 | #ifndef CONFIG_TX4938_NAND_BOOT | 47 | #ifndef CONFIG_TX4938_NAND_BOOT |
48 | prom_init_cmdline(); | 48 | prom_init_cmdline(); |
49 | #endif | 49 | #endif |
50 | mips_machgroup = MACH_GROUP_TOSHIBA; | ||
51 | mips_machtype = MACH_TOSHIBA_RBTX4938; | 50 | mips_machtype = MACH_TOSHIBA_RBTX4938; |
52 | 51 | ||
53 | msize = tx4938_get_mem_size(); | 52 | msize = tx4938_get_mem_size(); |
diff --git a/arch/mips/vr41xx/nec-cmbvr4133/setup.c b/arch/mips/vr41xx/nec-cmbvr4133/setup.c index b20b93b2b95e..58e47686b499 100644 --- a/arch/mips/vr41xx/nec-cmbvr4133/setup.c +++ b/arch/mips/vr41xx/nec-cmbvr4133/setup.c | |||
@@ -64,7 +64,6 @@ static void __init nec_cmbvr4133_setup(void) | |||
64 | #endif | 64 | #endif |
65 | set_io_port_base(KSEG1ADDR(0x16000000)); | 65 | set_io_port_base(KSEG1ADDR(0x16000000)); |
66 | 66 | ||
67 | mips_machgroup = MACH_GROUP_NEC_VR41XX; | ||
68 | mips_machtype = MACH_NEC_CMBVR4133; | 67 | mips_machtype = MACH_NEC_CMBVR4133; |
69 | 68 | ||
70 | #ifdef CONFIG_PCI | 69 | #ifdef CONFIG_PCI |
diff --git a/include/asm-mips/bootinfo.h b/include/asm-mips/bootinfo.h index efa8158f61eb..b2dd9b33de8f 100644 --- a/include/asm-mips/bootinfo.h +++ b/include/asm-mips/bootinfo.h | |||
@@ -15,21 +15,19 @@ | |||
15 | #include <asm/setup.h> | 15 | #include <asm/setup.h> |
16 | 16 | ||
17 | /* | 17 | /* |
18 | * The MACH_GROUP_ IDs are the equivalent to PCI vendor IDs; the remaining | 18 | * The MACH_ IDs are sort of equivalent to PCI product IDs. As such the |
19 | * MACH_ values equivalent to product IDs. As such the numbers do not | 19 | * numbers do not necessarily reflect technical relations or similarities |
20 | * necessarily reflect technical relations or similarities between systems. | 20 | * between systems. |
21 | */ | 21 | */ |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * Valid machtype values for group unknown | 24 | * Valid machtype values for group unknown |
25 | */ | 25 | */ |
26 | #define MACH_GROUP_UNKNOWN 0 /* whatever... */ | ||
27 | #define MACH_UNKNOWN 0 /* whatever... */ | 26 | #define MACH_UNKNOWN 0 /* whatever... */ |
28 | 27 | ||
29 | /* | 28 | /* |
30 | * Valid machtype values for group JAZZ | 29 | * Valid machtype values for group JAZZ |
31 | */ | 30 | */ |
32 | #define MACH_GROUP_JAZZ 1 /* Jazz */ | ||
33 | #define MACH_ACER_PICA_61 0 /* Acer PICA-61 (PICA1) */ | 31 | #define MACH_ACER_PICA_61 0 /* Acer PICA-61 (PICA1) */ |
34 | #define MACH_MIPS_MAGNUM_4000 1 /* Mips Magnum 4000 "RC4030" */ | 32 | #define MACH_MIPS_MAGNUM_4000 1 /* Mips Magnum 4000 "RC4030" */ |
35 | #define MACH_OLIVETTI_M700 2 /* Olivetti M700-10 (-15 ??) */ | 33 | #define MACH_OLIVETTI_M700 2 /* Olivetti M700-10 (-15 ??) */ |
@@ -37,7 +35,6 @@ | |||
37 | /* | 35 | /* |
38 | * Valid machtype for group DEC | 36 | * Valid machtype for group DEC |
39 | */ | 37 | */ |
40 | #define MACH_GROUP_DEC 2 /* Digital Equipment */ | ||
41 | #define MACH_DSUNKNOWN 0 | 38 | #define MACH_DSUNKNOWN 0 |
42 | #define MACH_DS23100 1 /* DECstation 2100 or 3100 */ | 39 | #define MACH_DS23100 1 /* DECstation 2100 or 3100 */ |
43 | #define MACH_DS5100 2 /* DECsystem 5100 */ | 40 | #define MACH_DS5100 2 /* DECsystem 5100 */ |
@@ -53,26 +50,22 @@ | |||
53 | /* | 50 | /* |
54 | * Valid machtype for group ARC | 51 | * Valid machtype for group ARC |
55 | */ | 52 | */ |
56 | #define MACH_GROUP_ARC 3 /* Deskstation */ | ||
57 | #define MACH_DESKSTATION_RPC44 0 /* Deskstation rPC44 */ | 53 | #define MACH_DESKSTATION_RPC44 0 /* Deskstation rPC44 */ |
58 | #define MACH_DESKSTATION_TYNE 1 /* Deskstation Tyne */ | 54 | #define MACH_DESKSTATION_TYNE 1 /* Deskstation Tyne */ |
59 | 55 | ||
60 | /* | 56 | /* |
61 | * Valid machtype for group SNI_RM | 57 | * Valid machtype for group SNI_RM |
62 | */ | 58 | */ |
63 | #define MACH_GROUP_SNI_RM 4 /* Siemens Nixdorf RM series */ | ||
64 | #define MACH_SNI_RM200_PCI 0 /* RM200/RM300/RM400 PCI series */ | 59 | #define MACH_SNI_RM200_PCI 0 /* RM200/RM300/RM400 PCI series */ |
65 | 60 | ||
66 | /* | 61 | /* |
67 | * Valid machtype for group ACN | 62 | * Valid machtype for group ACN |
68 | */ | 63 | */ |
69 | #define MACH_GROUP_ACN 5 | ||
70 | #define MACH_ACN_MIPS_BOARD 0 /* ACN MIPS single board */ | 64 | #define MACH_ACN_MIPS_BOARD 0 /* ACN MIPS single board */ |
71 | 65 | ||
72 | /* | 66 | /* |
73 | * Valid machtype for group SGI | 67 | * Valid machtype for group SGI |
74 | */ | 68 | */ |
75 | #define MACH_GROUP_SGI 6 /* Silicon Graphics */ | ||
76 | #define MACH_SGI_IP22 0 /* Indy, Indigo2, Challenge S */ | 69 | #define MACH_SGI_IP22 0 /* Indy, Indigo2, Challenge S */ |
77 | #define MACH_SGI_IP27 1 /* Origin 200, Origin 2000, Onyx 2 */ | 70 | #define MACH_SGI_IP27 1 /* Origin 200, Origin 2000, Onyx 2 */ |
78 | #define MACH_SGI_IP28 2 /* Indigo2 Impact */ | 71 | #define MACH_SGI_IP28 2 /* Indigo2 Impact */ |
@@ -82,26 +75,22 @@ | |||
82 | /* | 75 | /* |
83 | * Valid machtype for group COBALT | 76 | * Valid machtype for group COBALT |
84 | */ | 77 | */ |
85 | #define MACH_GROUP_COBALT 7 /* Cobalt servers */ | ||
86 | #define MACH_COBALT_27 0 /* Proto "27" hardware */ | 78 | #define MACH_COBALT_27 0 /* Proto "27" hardware */ |
87 | 79 | ||
88 | /* | 80 | /* |
89 | * Valid machtype for group BAGET | 81 | * Valid machtype for group BAGET |
90 | */ | 82 | */ |
91 | #define MACH_GROUP_BAGET 9 /* Baget */ | ||
92 | #define MACH_BAGET201 0 /* BT23-201 */ | 83 | #define MACH_BAGET201 0 /* BT23-201 */ |
93 | #define MACH_BAGET202 1 /* BT23-202 */ | 84 | #define MACH_BAGET202 1 /* BT23-202 */ |
94 | 85 | ||
95 | /* | 86 | /* |
96 | * Cosine boards. | 87 | * Cosine boards. |
97 | */ | 88 | */ |
98 | #define MACH_GROUP_COSINE 10 /* CoSine Orion */ | ||
99 | #define MACH_COSINE_ORION 0 | 89 | #define MACH_COSINE_ORION 0 |
100 | 90 | ||
101 | /* | 91 | /* |
102 | * Valid machtype for group MOMENCO | 92 | * Valid machtype for group MOMENCO |
103 | */ | 93 | */ |
104 | #define MACH_GROUP_MOMENCO 12 /* Momentum Boards */ | ||
105 | #define MACH_MOMENCO_OCELOT 0 | 94 | #define MACH_MOMENCO_OCELOT 0 |
106 | #define MACH_MOMENCO_OCELOT_G 1 /* no more supported (may 2007) */ | 95 | #define MACH_MOMENCO_OCELOT_G 1 /* no more supported (may 2007) */ |
107 | #define MACH_MOMENCO_OCELOT_C 2 /* no more supported (jun 2007) */ | 96 | #define MACH_MOMENCO_OCELOT_C 2 /* no more supported (jun 2007) */ |
@@ -111,7 +100,6 @@ | |||
111 | /* | 100 | /* |
112 | * Valid machtype for group PHILIPS | 101 | * Valid machtype for group PHILIPS |
113 | */ | 102 | */ |
114 | #define MACH_GROUP_PHILIPS 14 | ||
115 | #define MACH_PHILIPS_NINO 0 /* Nino */ | 103 | #define MACH_PHILIPS_NINO 0 /* Nino */ |
116 | #define MACH_PHILIPS_VELO 1 /* Velo */ | 104 | #define MACH_PHILIPS_VELO 1 /* Velo */ |
117 | #define MACH_PHILIPS_JBS 2 /* JBS */ | 105 | #define MACH_PHILIPS_JBS 2 /* JBS */ |
@@ -120,13 +108,11 @@ | |||
120 | /* | 108 | /* |
121 | * Valid machtype for group SIBYTE | 109 | * Valid machtype for group SIBYTE |
122 | */ | 110 | */ |
123 | #define MACH_GROUP_SIBYTE 16 /* Sibyte / Broadcom */ | ||
124 | #define MACH_SWARM 0 | 111 | #define MACH_SWARM 0 |
125 | 112 | ||
126 | /* | 113 | /* |
127 | * Valid machtypes for group Toshiba | 114 | * Valid machtypes for group Toshiba |
128 | */ | 115 | */ |
129 | #define MACH_GROUP_TOSHIBA 17 /* Toshiba Reference Systems TSBREF */ | ||
130 | #define MACH_PALLAS 0 | 116 | #define MACH_PALLAS 0 |
131 | #define MACH_TOPAS 1 | 117 | #define MACH_TOPAS 1 |
132 | #define MACH_JMR 2 | 118 | #define MACH_JMR 2 |
@@ -138,7 +124,6 @@ | |||
138 | /* | 124 | /* |
139 | * Valid machtype for group Alchemy | 125 | * Valid machtype for group Alchemy |
140 | */ | 126 | */ |
141 | #define MACH_GROUP_ALCHEMY 18 /* AMD Alchemy */ | ||
142 | #define MACH_PB1000 0 /* Au1000-based eval board */ | 127 | #define MACH_PB1000 0 /* Au1000-based eval board */ |
143 | #define MACH_PB1100 1 /* Au1100-based eval board */ | 128 | #define MACH_PB1100 1 /* Au1100-based eval board */ |
144 | #define MACH_PB1500 2 /* Au1500-based eval board */ | 129 | #define MACH_PB1500 2 /* Au1500-based eval board */ |
@@ -160,7 +145,6 @@ | |||
160 | * FIXME: MACH_GROUPs should be by _MANUFACTURER_ of * the device, not by | 145 | * FIXME: MACH_GROUPs should be by _MANUFACTURER_ of * the device, not by |
161 | * technical properties, so no new additions to this group. | 146 | * technical properties, so no new additions to this group. |
162 | */ | 147 | */ |
163 | #define MACH_GROUP_NEC_VR41XX 19 | ||
164 | #define MACH_NEC_OSPREY 0 /* Osprey eval board */ | 148 | #define MACH_NEC_OSPREY 0 /* Osprey eval board */ |
165 | #define MACH_NEC_EAGLE 1 /* NEC Eagle/Hawk board */ | 149 | #define MACH_NEC_EAGLE 1 /* NEC Eagle/Hawk board */ |
166 | #define MACH_ZAO_CAPCELLA 2 /* ZAO Networks Capcella */ | 150 | #define MACH_ZAO_CAPCELLA 2 /* ZAO Networks Capcella */ |
@@ -171,39 +155,33 @@ | |||
171 | #define MACH_TANBAC_TB0229 7 /* TANBAC TB0229 (VR4131DIMM) */ | 155 | #define MACH_TANBAC_TB0229 7 /* TANBAC TB0229 (VR4131DIMM) */ |
172 | #define MACH_NEC_CMBVR4133 8 /* CMB VR4133 Board */ | 156 | #define MACH_NEC_CMBVR4133 8 /* CMB VR4133 Board */ |
173 | 157 | ||
174 | #define MACH_GROUP_HP_LJ 20 /* Hewlett Packard LaserJet */ | ||
175 | #define MACH_HP_LASERJET 1 | 158 | #define MACH_HP_LASERJET 1 |
176 | 159 | ||
177 | /* | 160 | /* |
178 | * Valid machtype for group LASAT | 161 | * Valid machtype for group LASAT |
179 | */ | 162 | */ |
180 | #define MACH_GROUP_LASAT 21 | ||
181 | #define MACH_LASAT_100 0 /* Masquerade II/SP100/SP50/SP25 */ | 163 | #define MACH_LASAT_100 0 /* Masquerade II/SP100/SP50/SP25 */ |
182 | #define MACH_LASAT_200 1 /* Masquerade PRO/SP200 */ | 164 | #define MACH_LASAT_200 1 /* Masquerade PRO/SP200 */ |
183 | 165 | ||
184 | /* | 166 | /* |
185 | * Valid machtype for group TITAN | 167 | * Valid machtype for group TITAN |
186 | */ | 168 | */ |
187 | #define MACH_GROUP_TITAN 22 /* PMC-Sierra Titan */ | ||
188 | #define MACH_TITAN_YOSEMITE 1 /* PMC-Sierra Yosemite */ | 169 | #define MACH_TITAN_YOSEMITE 1 /* PMC-Sierra Yosemite */ |
189 | #define MACH_TITAN_EXCITE 2 /* Basler eXcite */ | 170 | #define MACH_TITAN_EXCITE 2 /* Basler eXcite */ |
190 | 171 | ||
191 | /* | 172 | /* |
192 | * Valid machtype for group NEC EMMA2RH | 173 | * Valid machtype for group NEC EMMA2RH |
193 | */ | 174 | */ |
194 | #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */ | ||
195 | #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */ | 175 | #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */ |
196 | 176 | ||
197 | /* | 177 | /* |
198 | * Valid machtype for group LEMOTE | 178 | * Valid machtype for group LEMOTE |
199 | */ | 179 | */ |
200 | #define MACH_GROUP_LEMOTE 27 | ||
201 | #define MACH_LEMOTE_FULONG 0 | 180 | #define MACH_LEMOTE_FULONG 0 |
202 | 181 | ||
203 | /* | 182 | /* |
204 | * Valid machtype for group PMC-MSP | 183 | * Valid machtype for group PMC-MSP |
205 | */ | 184 | */ |
206 | #define MACH_GROUP_MSP 26 /* PMC-Sierra MSP boards/CPUs */ | ||
207 | #define MACH_MSP4200_EVAL 0 /* PMC-Sierra MSP4200 Evaluation */ | 185 | #define MACH_MSP4200_EVAL 0 /* PMC-Sierra MSP4200 Evaluation */ |
208 | #define MACH_MSP4200_GW 1 /* PMC-Sierra MSP4200 Gateway demo */ | 186 | #define MACH_MSP4200_GW 1 /* PMC-Sierra MSP4200 Gateway demo */ |
209 | #define MACH_MSP4200_FPGA 2 /* PMC-Sierra MSP4200 Emulation */ | 187 | #define MACH_MSP4200_FPGA 2 /* PMC-Sierra MSP4200 Emulation */ |
@@ -212,7 +190,6 @@ | |||
212 | #define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */ | 190 | #define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */ |
213 | #define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */ | 191 | #define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */ |
214 | 192 | ||
215 | #define MACH_GROUP_WINDRIVER 28 /* Windriver boards */ | ||
216 | #define MACH_WRPPMC 1 | 193 | #define MACH_WRPPMC 1 |
217 | 194 | ||
218 | /* | 195 | /* |
@@ -226,7 +203,6 @@ | |||
226 | const char *get_system_type(void); | 203 | const char *get_system_type(void); |
227 | 204 | ||
228 | extern unsigned long mips_machtype; | 205 | extern unsigned long mips_machtype; |
229 | extern unsigned long mips_machgroup; | ||
230 | 206 | ||
231 | #define BOOT_MEM_MAP_MAX 32 | 207 | #define BOOT_MEM_MAP_MAX 32 |
232 | #define BOOT_MEM_RAM 1 | 208 | #define BOOT_MEM_RAM 1 |