Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14921
b: refs/heads/master
c: dea9100
h: refs/heads/master
i:
  14919: 4a569ab
v: v3
  • Loading branch information
Ralf Baechle committed Dec 1, 2005
1 parent 98aa202 commit cf2efc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: edcb98d1db7d0320d7b1920c05a4f1cafe7cb798
refs/heads/master: dea91002d45e4f0fe83768703288e1cde917371c
7 changes: 3 additions & 4 deletions trunk/arch/mips/au1000/db1x00/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,12 @@
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-db1x00/db1x00.h>

/* not correct for db1550 */
static BCSR * const bcsr = (BCSR *)0xAE000000;
static BCSR * const bcsr = (BCSR *)BCSR_KSEG1_ADDR;

void board_reset (void)
{
/* Hit BCSR.SYSTEM_CONTROL[SW_RST] */
au_writel(0x00000000, 0xAE00001C);
bcsr->swreset = 0x0000;
}

void __init board_setup(void)
Expand All @@ -75,7 +74,7 @@ void __init board_setup(void)
bcsr->resets |= BCSR_RESETS_IRDA_MODE_OFF;
au_sync();
#endif
au_writel(0, 0xAE000010); /* turn off pcmcia power */
bcsr->pcmcia = 0x0000; /* turn off PCMCIA power */

#ifdef CONFIG_MIPS_MIRAGE
/* enable GPIO[31:0] inputs */
Expand Down

0 comments on commit cf2efc5

Please sign in to comment.