diff options
author | Andrew Victor <andrew@sanpeople.com> | 2007-05-31 05:16:00 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-06-03 12:52:35 -0400 |
commit | 0e5f82dda5e60a21cf8ba4f77334d60290277d2c (patch) | |
tree | 1b4dc2efb911f37d613ea3ee37468bfa9ceb4248 /include/asm-arm/arch-at91/at91_wdt.h | |
parent | f72267c30f5a08f9a77c97417ec120e6943195f8 (diff) |
[ARM] 4421/1: AT91: Value of _KEY fields.
Use the actual value (0xA5) for the AT91_SHDW_KEY and AT91_WDT_KEY
register fields instead of a bitmask.
This is consistent with how AT91_RSTC_KEY is defined, and is easier to
use in code.
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-at91/at91_wdt.h')
-rw-r--r-- | include/asm-arm/arch-at91/at91_wdt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-at91/at91_wdt.h b/include/asm-arm/arch-at91/at91_wdt.h index 7251a344c740..1014e9bf181f 100644 --- a/include/asm-arm/arch-at91/at91_wdt.h +++ b/include/asm-arm/arch-at91/at91_wdt.h | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #define AT91_WDT_CR (AT91_WDT + 0x00) /* Watchdog Control Register */ | 16 | #define AT91_WDT_CR (AT91_WDT + 0x00) /* Watchdog Control Register */ |
17 | #define AT91_WDT_WDRSTT (1 << 0) /* Restart */ | 17 | #define AT91_WDT_WDRSTT (1 << 0) /* Restart */ |
18 | #define AT91_WDT_KEY (0xff << 24) /* KEY Password */ | 18 | #define AT91_WDT_KEY (0xa5 << 24) /* KEY Password */ |
19 | 19 | ||
20 | #define AT91_WDT_MR (AT91_WDT + 0x04) /* Watchdog Mode Register */ | 20 | #define AT91_WDT_MR (AT91_WDT + 0x04) /* Watchdog Mode Register */ |
21 | #define AT91_WDT_WDV (0xfff << 0) /* Counter Value */ | 21 | #define AT91_WDT_WDV (0xfff << 0) /* Counter Value */ |