Skip to content

Commit

Permalink
[ARM] 4085/1: AT91: Header fixes.
Browse files Browse the repository at this point in the history
Fix two typo's where AT01_* was used instead of AT91_*.
[Patch from Wojtek Kaniewski]

Fix definition of AT91_SMC_EXNWMODE for the SAM9 processors.
[Patch from Wu Xuan]

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Andrew Victor authored and Russell King committed Jan 24, 2007
1 parent fb1d504 commit 410f4ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/asm-arm/arch-at91rm9200/at91_rstc.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define AT91_RSTC_PROCRST (1 << 0) /* Processor Reset */
#define AT91_RSTC_PERRST (1 << 2) /* Peripheral Reset */
#define AT91_RSTC_EXTRST (1 << 3) /* External Reset */
#define AT01_RSTC_KEY (0xff << 24) /* KEY Password */
#define AT91_RSTC_KEY (0xff << 24) /* KEY Password */

#define AT91_RSTC_SR (AT91_RSTC + 0x04) /* Reset Controller Status Register */
#define AT91_RSTC_URSTS (1 << 0) /* User Reset Status */
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-at91rm9200/at91sam9261_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#define AT91_MATRIX_MCFG (AT91_MATRIX + 0x00) /* Master Configuration Register */
#define AT91_MATRIX_RCB0 (1 << 0) /* Remap Command for AHB Master 0 (ARM926EJ-S Instruction Master) */
#define AT01_MATRIX_RCB1 (1 << 1) /* Remap Command for AHB Master 1 (ARM926EJ-S Data Master) */
#define AT91_MATRIX_RCB1 (1 << 1) /* Remap Command for AHB Master 1 (ARM926EJ-S Data Master) */

#define AT91_MATRIX_SCFG0 (AT91_MATRIX + 0x04) /* Slave Configuration Register 0 */
#define AT91_MATRIX_SCFG1 (AT91_MATRIX + 0x08) /* Slave Configuration Register 1 */
Expand Down
8 changes: 4 additions & 4 deletions include/asm-arm/arch-at91rm9200/at91sam926x_mc.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
#define AT91_SMC_MODE(n) (AT91_SMC + 0x0c + ((n)*0x10)) /* Mode Register for CS n */
#define AT91_SMC_READMODE (1 << 0) /* Read Mode */
#define AT91_SMC_WRITEMODE (1 << 1) /* Write Mode */
#define AT91_SMC_EXNWMODE (3 << 5) /* NWAIT Mode */
#define AT91_SMC_EXNWMODE_DISABLE (0 << 5)
#define AT91_SMC_EXNWMODE_FROZEN (2 << 5)
#define AT91_SMC_EXNWMODE_READY (3 << 5)
#define AT91_SMC_EXNWMODE (3 << 4) /* NWAIT Mode */
#define AT91_SMC_EXNWMODE_DISABLE (0 << 4)
#define AT91_SMC_EXNWMODE_FROZEN (2 << 4)
#define AT91_SMC_EXNWMODE_READY (3 << 4)
#define AT91_SMC_BAT (1 << 8) /* Byte Access Type */
#define AT91_SMC_BAT_SELECT (0 << 8)
#define AT91_SMC_BAT_WRITE (1 << 8)
Expand Down

0 comments on commit 410f4ea

Please sign in to comment.