aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/devboards/pb1550/board_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/devboards/pb1550/board_setup.c')
-rw-r--r--arch/mips/alchemy/devboards/pb1550/board_setup.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/alchemy/devboards/pb1550/board_setup.c b/arch/mips/alchemy/devboards/pb1550/board_setup.c
index 25a9190265db..f462652d762a 100644
--- a/arch/mips/alchemy/devboards/pb1550/board_setup.c
+++ b/arch/mips/alchemy/devboards/pb1550/board_setup.c
@@ -32,6 +32,8 @@
32#include <asm/mach-au1x00/au1000.h> 32#include <asm/mach-au1x00/au1000.h>
33#include <asm/mach-pb1x00/pb1550.h> 33#include <asm/mach-pb1x00/pb1550.h>
34 34
35#include <prom.h>
36
35 37
36char irq_tab_alchemy[][5] __initdata = { 38char irq_tab_alchemy[][5] __initdata = {
37 [12] = { -1, INTB, INTC, INTD, INTA }, /* IDSEL 12 - PCI slot 2 (left) */ 39 [12] = { -1, INTB, INTC, INTD, INTA }, /* IDSEL 12 - PCI slot 2 (left) */
@@ -61,6 +63,16 @@ void __init board_setup(void)
61{ 63{
62 u32 pin_func; 64 u32 pin_func;
63 65
66#ifdef CONFIG_SERIAL_8250_CONSOLE
67 char *argptr;
68 argptr = prom_getcmdline();
69 argptr = strstr(argptr, "console=");
70 if (argptr == NULL) {
71 argptr = prom_getcmdline();
72 strcat(argptr, " console=ttyS0,115200");
73 }
74#endif
75
64 /* 76 /*
65 * Enable PSC1 SYNC for AC'97. Normaly done in audio driver, 77 * Enable PSC1 SYNC for AC'97. Normaly done in audio driver,
66 * but it is board specific code, so put it here. 78 * but it is board specific code, so put it here.