Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66174
b: refs/heads/master
c: 05dc8c0
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 11, 2007
1 parent 704c85d commit 46facd0
Show file tree
Hide file tree
Showing 29 changed files with 5 additions and 85 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 112b20a1e849aec8077bbf11fc3de338b62f363a
refs/heads/master: 05dc8c02bf40090e9ed23932b1980ead48eb8870
2 changes: 0 additions & 2 deletions trunk/arch/mips/au1000/db1x00/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg2;

mips_machgroup = MACH_GROUP_ALCHEMY;

/* Set the platform # */
#if defined (CONFIG_MIPS_DB1550)
mips_machtype = MACH_DB1550;
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/au1000/mtx-1/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg2;

mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_MTX1; /* set the platform # */

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/au1000/pb1000/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg2;

mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_PB1000;

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/au1000/pb1100/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg3;

mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_PB1100;

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/au1000/pb1200/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg2;

mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_PB1200;

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/au1000/pb1500/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg2;

mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_PB1500;

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/au1000/pb1550/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg2;

mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_PB1550;

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/au1000/xxs1500/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg2;

mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_XXS1500; /* set the platform # */

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/basler/excite/excite_prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ void __init prom_init(void)
# error 64 bit support not implemented
#endif /* CONFIG_64BIT */

mips_machgroup = MACH_GROUP_TITAN;
mips_machtype = MACH_TITAN_EXCITE;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/mips/cobalt/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ void __init prom_init(void)
unsigned long memsz;
char **argv;

mips_machgroup = MACH_GROUP_COBALT;

memsz = fw_arg0 & 0x7fff0000;
narg = fw_arg0 & 0x0000ffff;

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/mips/dec/prom/identify.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@ void __init prom_identify_arch(u32 magic)
dec_firmrev = (dec_sysid & 0xff00) >> 8;
dec_etc = dec_sysid & 0xff;

/* We're obviously one of the DEC machines */
mips_machgroup = MACH_GROUP_DEC;

/*
* FIXME: This may not be an exhaustive list of DECStations/Servers!
* Put all model-specific initialisation calls here.
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/mips/emma2rh/common/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ void __init prom_init(void)
strcat(arcs_cmdline, " ");
}

mips_machgroup = MACH_GROUP_NEC_EMMA2RH;

#if defined(CONFIG_MARKEINS)
mips_machtype = MACH_NEC_MARKEINS;
add_memory_region(0, EMMA2RH_RAM_SIZE, BOOT_MEM_RAM);
Expand Down
10 changes: 0 additions & 10 deletions trunk/arch/mips/fw/arc/identify.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
struct smatch {
char *arcname;
char *liname;
int group;
int type;
int flags;
};
Expand All @@ -31,49 +30,41 @@ static struct smatch mach_table[] = {
{
.arcname = "SGI-IP22",
.liname = "SGI Indy",
.group = MACH_GROUP_SGI,
.type = MACH_SGI_IP22,
.flags = PROM_FLAG_ARCS,
}, {
.arcname = "SGI-IP27",
.liname = "SGI Origin",
.group = MACH_GROUP_SGI,
.type = MACH_SGI_IP27,
.flags = PROM_FLAG_ARCS,
}, {
.arcname = "SGI-IP28",
.liname = "SGI IP28",
.group = MACH_GROUP_SGI,
.type = MACH_SGI_IP28,
.flags = PROM_FLAG_ARCS,
}, {
.arcname = "SGI-IP30",
.liname = "SGI Octane",
.group = MACH_GROUP_SGI,
.type = MACH_SGI_IP30,
.flags = PROM_FLAG_ARCS,
}, {
.arcname = "SGI-IP32",
.liname = "SGI O2",
.group = MACH_GROUP_SGI,
.type = MACH_SGI_IP32,
.flags = PROM_FLAG_ARCS,
}, {
.arcname = "Microsoft-Jazz",
.liname = "Jazz MIPS_Magnum_4000",
.group = MACH_GROUP_JAZZ,
.type = MACH_MIPS_MAGNUM_4000,
.flags = 0,
}, {
.arcname = "PICA-61",
.liname = "Jazz Acer_PICA_61",
.group = MACH_GROUP_JAZZ,
.type = MACH_ACER_PICA_61,
.flags = 0,
}, {
.arcname = "RM200PCI",
.liname = "SNI RM200_PCI",
.group = MACH_GROUP_SNI_RM,
.type = MACH_SNI_RM200_PCI,
.flags = PROM_FLAG_DONT_FREE_TEMP,
}
Expand Down Expand Up @@ -125,7 +116,6 @@ void __init prom_identify_arch(void)
mach = string_to_mach(iname);
system_type = mach->liname;

mips_machgroup = mach->group;
mips_machtype = mach->type;
prom_flags = mach->flags;
}
1 change: 0 additions & 1 deletion trunk/arch/mips/gt64120/wrppmc/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ const char *get_system_type(void)
*/
void __init prom_init(void)
{
mips_machgroup = MACH_GROUP_WINDRIVER;
mips_machtype = MACH_WRPPMC;

add_memory_region(WRPPMC_SDRAM_SCS0_BASE, WRPPMC_SDRAM_SCS0_SIZE, BOOT_MEM_RAM);
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/jmr3927/rbhma3100/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ void __init prom_init(void)
if ((tx3927_ccfgptr->ccfg & TX3927_CCFG_TLBOFF) == 0)
puts("Warning: TX3927 TLB off\n");
#endif
mips_machgroup = MACH_GROUP_TOSHIBA;

#ifdef CONFIG_TOSHIBA_JMR3927
mips_machtype = MACH_TOSHIBA_JMR3927;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/mips/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ EXPORT_SYMBOL(PCI_DMA_BUS_IS_PHYS);
* These are initialized so they are in the .data section
*/
unsigned long mips_machtype __read_mostly = MACH_UNKNOWN;
unsigned long mips_machgroup __read_mostly = MACH_GROUP_UNKNOWN;

EXPORT_SYMBOL(mips_machtype);
EXPORT_SYMBOL(mips_machgroup);

struct boot_mem_map boot_mem_map;

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/mips/lasat/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ void __init prom_init(void)

lasat_init_board_info(); /* Read info from EEPROM */

mips_machgroup = MACH_GROUP_LASAT;

/* Get the command line */
if (argc > 0) {
strncpy(arcs_cmdline, argv[0], CL_SIZE-1);
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/lemote/lm2e/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ void __init prom_init(void)
arg = (int *)fw_arg1;
env = (int *)fw_arg2;

mips_machgroup = MACH_GROUP_LEMOTE;
mips_machtype = MACH_LEMOTE_FULONG;

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/philips/pnx8550/jbs/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ void __init prom_init(void)

unsigned long memsize;

mips_machgroup = MACH_GROUP_PHILIPS;
mips_machtype = MACH_PHILIPS_JBS;

//memsize = 0x02800000; /* Trimedia uses memory above */
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/philips/pnx8550/stb810/prom_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ void __init prom_init(void)

prom_init_cmdline();

mips_machgroup = MACH_GROUP_PHILIPS;
mips_machtype = MACH_PHILIPS_STB810;

memsize = 0x08000000; /* Trimedia uses memory above */
Expand Down
15 changes: 1 addition & 14 deletions trunk/arch/mips/pmc-sierra/msp71xx/msp_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,13 @@ void __init prom_init(void)
case FAMILY_FPGA:
if (FPGA_IS_MSP4200(revision)) {
/* Old-style revision ID */
mips_machgroup = MACH_GROUP_MSP;
mips_machtype = MACH_MSP4200_FPGA;
} else {
mips_machgroup = MACH_GROUP_MSP;
mips_machtype = MACH_MSP_OTHER;
}
break;

case FAMILY_MSP4200:
mips_machgroup = MACH_GROUP_MSP;
#if defined(CONFIG_PMC_MSP4200_EVAL)
mips_machtype = MACH_MSP4200_EVAL;
#elif defined(CONFIG_PMC_MSP4200_GW)
Expand All @@ -196,12 +193,10 @@ void __init prom_init(void)
break;

case FAMILY_MSP4200_FPGA:
mips_machgroup = MACH_GROUP_MSP;
mips_machtype = MACH_MSP4200_FPGA;
break;

case FAMILY_MSP7100:
mips_machgroup = MACH_GROUP_MSP;
#if defined(CONFIG_PMC_MSP7120_EVAL)
mips_machtype = MACH_MSP7120_EVAL;
#elif defined(CONFIG_PMC_MSP7120_GW)
Expand All @@ -212,22 +207,14 @@ void __init prom_init(void)
break;

case FAMILY_MSP7100_FPGA:
mips_machgroup = MACH_GROUP_MSP;
mips_machtype = MACH_MSP7120_FPGA;
break;

default:
/* we don't recognize the machine */
mips_machgroup = MACH_GROUP_UNKNOWN;
mips_machtype = MACH_UNKNOWN;
break;
}

/* make sure we have the right initialization routine - sanity */
if (mips_machgroup != MACH_GROUP_MSP) {
ppfinit("Unknown machine group in a "
"MSP initialization routine\n");
panic("***Bogosity factor five***, exiting\n");
break;
}

prom_init_cmdline();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/pmc-sierra/yosemite/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ void __init prom_init(void)
env++;
}

mips_machgroup = MACH_GROUP_TITAN;
mips_machtype = MACH_TITAN_YOSEMITE;

prom_grab_secondary();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/sibyte/cfe/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ void __init prom_init(void)
/* Not sure this is needed, but it's the safe way. */
arcs_cmdline[CL_SIZE-1] = 0;

mips_machgroup = MACH_GROUP_SIBYTE;
prom_meminit();
}

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/sibyte/sb1250/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ void __init prom_init(void)

strcpy(arcs_cmdline, "root=/dev/ram0 ");

mips_machgroup = MACH_GROUP_SIBYTE;
prom_meminit();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ void __init prom_init(void)

prom_init_cmdline();

mips_machgroup = MACH_GROUP_TOSHIBA;

if ((read_c0_prid() & 0xff) == PRID_REV_TX4927) {
mips_machtype = MACH_TOSHIBA_RBTX4927;
toshiba_name = "TX4927";
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/tx4938/toshiba_rbtx4938/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ void __init prom_init(void)
#ifndef CONFIG_TX4938_NAND_BOOT
prom_init_cmdline();
#endif
mips_machgroup = MACH_GROUP_TOSHIBA;
mips_machtype = MACH_TOSHIBA_RBTX4938;

msize = tx4938_get_mem_size();
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/mips/vr41xx/nec-cmbvr4133/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ static void __init nec_cmbvr4133_setup(void)
#endif
set_io_port_base(KSEG1ADDR(0x16000000));

mips_machgroup = MACH_GROUP_NEC_VR41XX;
mips_machtype = MACH_NEC_CMBVR4133;

#ifdef CONFIG_PCI
Expand Down
Loading

0 comments on commit 46facd0

Please sign in to comment.