projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89a6ee
)
at91: add defines for reset type
author
Roger Meier
<
[email protected]
>
Mon, 4 Nov 2013 06:40:44 +0000
(07:40 +0100)
committer
Andreas Bießmann
<
[email protected]
>
Mon, 4 Nov 2013 19:32:39 +0000
(20:32 +0100)
Signed-off-by: Roger Meier <
[email protected]
>
Acked-by: Bo Shen <
[email protected]
>
Reviewed-by: Heiko Schocher <
[email protected]
>
Cc: Andreas Bießmann <
[email protected]
>
Signed-off-by: Andreas Bießmann <
[email protected]
>
arch/arm/include/asm/arch-at91/at91_rstc.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-at91/at91_rstc.h
b/arch/arm/include/asm/arch-at91/at91_rstc.h
index 423cf515d9789b6f40a4236e7b64bd4e86557876..a9423428e75344e290213c4ef597512d17520297 100644
(file)
--- a/
arch/arm/include/asm/arch-at91/at91_rstc.h
+++ b/
arch/arm/include/asm/arch-at91/at91_rstc.h
@@
-38,4
+38,11
@@
typedef struct at91_rstc {
#define AT91_RSTC_SR_NRSTL 0x00010000
+#define AT91_RSTC_RSTTYP (7 << 8) /* Reset Type */
+#define AT91_RSTC_RSTTYP_GENERAL (0 << 8)
+#define AT91_RSTC_RSTTYP_WAKEUP (1 << 8)
+#define AT91_RSTC_RSTTYP_WATCHDOG (2 << 8)
+#define AT91_RSTC_RSTTYP_SOFTWARE (3 << 8)
+#define AT91_RSTC_RSTTYP_USER (4 << 8)
+
#endif