Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182030
b: refs/heads/master
c: 32fc0ad
h: refs/heads/master
v: v3
  • Loading branch information
Florian Fainelli authored and Ralf Baechle committed Feb 27, 2010
1 parent 89d87bb commit 2243621
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 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: 66a1d9baf4962defb3fc41439e3a22e752182f9f
refs/heads/master: 32fc0adeb89c7e1e592bf31b7158ddc154298207
4 changes: 3 additions & 1 deletion trunk/arch/mips/alchemy/devboards/db1x00/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,14 @@ void board_reset(void)
void __init board_setup(void)
{
unsigned long bcsr1, bcsr2;
u32 pin_func = 0;
u32 pin_func;
char *argptr;

bcsr1 = DB1000_BCSR_PHYS_ADDR;
bcsr2 = DB1000_BCSR_PHYS_ADDR + DB1000_BCSR_HEXLED_OFS;

pin_func = 0;

#ifdef CONFIG_MIPS_DB1000
printk(KERN_INFO "AMD Alchemy Au1000/Db1000 Board\n");
#endif
Expand Down
6 changes: 5 additions & 1 deletion trunk/arch/mips/alchemy/devboards/pb1000/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,13 @@ void __init board_setup(void)
u32 pin_func, static_cfg0;
u32 sys_freqctrl, sys_clksrc;
u32 prid = read_c0_prid();
char *argptr;

sys_freqctrl = 0;
sys_clksrc = 0;
argptr = prom_getcmdline();

#ifdef CONFIG_SERIAL_8250_CONSOLE
char *argptr = prom_getcmdline();
argptr = strstr(argptr, "console=");
if (argptr == NULL) {
argptr = prom_getcmdline();
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/mips/alchemy/devboards/pb1550/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ void board_reset(void)
void __init board_setup(void)
{
u32 pin_func;
char *argptr;

bcsr_init(PB1550_BCSR_PHYS_ADDR,
PB1550_BCSR_PHYS_ADDR + PB1550_BCSR_HEXLED_OFS);


#ifdef CONFIG_SERIAL_8250_CONSOLE
char *argptr;
argptr = prom_getcmdline();
#ifdef CONFIG_SERIAL_8250_CONSOLE
argptr = strstr(argptr, "console=");
if (argptr == NULL) {
argptr = prom_getcmdline();
Expand Down

0 comments on commit 2243621

Please sign in to comment.