Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62659
b: refs/heads/master
c: f4ae641
h: refs/heads/master
i:
  62657: 261f76f
  62655: ab0b4df
v: v3
  • Loading branch information
Uwe Kleine-König authored and Russell King committed Jul 20, 2007
1 parent ae1eb6f commit 5ee9f58
Show file tree
Hide file tree
Showing 3 changed files with 5 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: cebfaf5f1c4dcf9456463c8411ae869f3c03619f
refs/heads/master: f4ae6413f4d4889c8bf3fb90939d967ced65ece7
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-ns9xxx/board-a9m9750dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void __init board_a9m9750dev_init_machine(void)

/* setup static CS0: memory configuration */
reg = MEM_SMC(0);
REGSET(reg, MEM_SMC, WSMC, OFF);
REGSET(reg, MEM_SMC, PSMC, OFF);
REGSET(reg, MEM_SMC, BSMC, OFF);
REGSET(reg, MEM_SMC, EW, OFF);
REGSET(reg, MEM_SMC, PB, 1);
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/asm-arm/arch-ns9xxx/regs-mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
#define MEM_SMC(x) __REG2(0xa0700200, (x) << 3)

/* Static Memory Configuration Register x: Write protect */
#define MEM_SMC_WSMC __REGBIT(20)
#define MEM_SMC_WSMC_OFF __REGVAL(MEM_SMC_WSMC, 0)
#define MEM_SMC_WSMC_ON __REGVAL(MEM_SMC_WSMC, 1)
#define MEM_SMC_PSMC __REGBIT(20)
#define MEM_SMC_PSMC_OFF __REGVAL(MEM_SMC_PSMC, 0)
#define MEM_SMC_PSMC_ON __REGVAL(MEM_SMC_PSMC, 1)

/* Static Memory Configuration Register x: Buffer enable */
#define MEM_SMC_BSMC __REGBIT(19)
Expand Down

0 comments on commit 5ee9f58

Please sign in to comment.