Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182099
b: refs/heads/master
c: ab4ba29
h: refs/heads/master
i:
  182097: a524c95
  182095: ecacda2
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Feb 27, 2010
1 parent 3bc63cd commit c4f979a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 27 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: 7084338eb8eb0cc021ba86c340157bad397f3f0b
refs/heads/master: ab4ba291683d07038c7ddf1eec191d3d09e1f468
1 change: 0 additions & 1 deletion trunk/arch/mips/include/asm/txx9/generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ struct txx9_board_vec {
};
extern struct txx9_board_vec *txx9_board_vec;
extern int (*txx9_irq_dispatch)(int pending);
char *prom_getcmdline(void);
const char *prom_getenv(const char *name);
void txx9_wdt_init(unsigned long base);
void txx9_wdt_now(unsigned long base);
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/mips/txx9/generic/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,6 @@ const char *get_system_type(void)
return txx9_system_type;
}

char * __init prom_getcmdline(void)
{
return &(arcs_cmdline[0]);
}

const char *__init prom_getenv(const char *name)
{
const s32 *str;
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/mips/txx9/jmr3927/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ static void jmr3927_board_init(void);

static void __init jmr3927_mem_setup(void)
{
char *argptr;

set_io_port_base(JMR3927_PORT_BASE + JMR3927_PCIIO);

_machine_restart = jmr3927_machine_restart;
Expand Down Expand Up @@ -97,11 +95,6 @@ static void __init jmr3927_mem_setup(void)
jmr3927_board_init();

tx3927_sio_init(0, 1 << 1); /* ch1: noCTS */
#ifdef CONFIG_SERIAL_TXX9_CONSOLE
argptr = prom_getcmdline();
if (!strstr(argptr, "console="))
strcat(argptr, " console=ttyS1,115200");
#endif
}

static void __init jmr3927_pci_setup(void)
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/mips/txx9/rbtx4927/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ static void __init rbtx4937_clock_init(void);

static void __init rbtx4927_mem_setup(void)
{
char *argptr;

if (TX4927_REV_PCODE() == 0x4927) {
rbtx4927_clock_init();
tx4927_setup();
Expand All @@ -213,11 +211,6 @@ static void __init rbtx4927_mem_setup(void)
gpio_direction_output(15, 1);

tx4927_sio_init(0, 0);
#ifdef CONFIG_SERIAL_TXX9_CONSOLE
argptr = prom_getcmdline();
if (!strstr(argptr, "console="))
strcat(argptr, " console=ttyS0,38400");
#endif
}

static void __init rbtx4927_clock_init(void)
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/mips/txx9/rbtx4938/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ static void __init rbtx4938_time_init(void)
static void __init rbtx4938_mem_setup(void)
{
unsigned long long pcfg;
char *argptr;

if (txx9_master_clock == 0)
txx9_master_clock = 25000000; /* 25MHz */
Expand All @@ -168,11 +167,6 @@ static void __init rbtx4938_mem_setup(void)
#endif

tx4938_sio_init(7372800, 0);
#ifdef CONFIG_SERIAL_TXX9_CONSOLE
argptr = prom_getcmdline();
if (!strstr(argptr, "console="))
strcat(argptr, " console=ttyS0,38400");
#endif

#ifdef CONFIG_TOSHIBA_RBTX4938_MPLEX_PIO58_61
pr_info("PIOSEL: disabling both ATA and NAND selection\n");
Expand Down

0 comments on commit c4f979a

Please sign in to comment.