public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/4] at91: add defines for reset type
Date: Mon, 04 Nov 2013 09:16:30 +0100	[thread overview]
Message-ID: <527757DE.9070001@gmail.com> (raw)
In-Reply-To: <1383547247-7017-2-git-send-email-hs@denx.de>

Hi Heiko,

On 11/04/2013 07:40 AM, Heiko Schocher wrote:
> From: Roger Meier <r.meier@siemens.com>
> 
> Signed-off-by: Roger Meier <r.meier@siemens.com>
> Acked-by: Bo Shen <voice.shen@atmel.com>
> Reviewed-by: Heiko Schocher <hs@denx.de>
> Cc: Andreas Bie?mann <andreas.devel@googlemail.com>
> 
> ---
> changes for v2:
>   - add Acked-by from Bo Shen
> ---
>  arch/arm/include/asm/arch-at91/at91_rstc.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm/include/asm/arch-at91/at91_rstc.h b/arch/arm/include/asm/arch-at91/at91_rstc.h
> index 423cf51..a942342 100644
> --- 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
> 

... looks good to me.

Best regards

Andreas Bie?mann

  reply	other threads:[~2013-11-04  8:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04  6:40 [U-Boot] [PATCH v2 0/4] arm, at91: support for the taurus, axm and corvus board Heiko Schocher
2013-11-04  6:40 ` [U-Boot] [PATCH v2 1/4] at91: add defines for reset type Heiko Schocher
2013-11-04  8:16   ` Andreas Bießmann [this message]
2013-11-04 19:41   ` [U-Boot] [U-Boot,v2,1/4] " Andreas Bießmann
2013-11-04  6:40 ` [U-Boot] [PATCH v2 2/4] arm, at91: add function for waiting if reset ends Heiko Schocher
2013-11-04  8:20   ` Andreas Bießmann
2013-11-04  9:03   ` Wolfgang Denk
2013-11-04  9:11     ` Heiko Schocher
2013-11-04 10:35     ` Andreas Bießmann
2013-11-04  6:40 ` [U-Boot] [PATCH v2 3/4] arm, at91: add Siemens board taurus and axm Heiko Schocher
2013-11-04  8:43   ` Andreas Bießmann
2013-11-04  9:09     ` Heiko Schocher
2013-11-04 11:04       ` Andreas Bießmann
2013-11-04  6:40 ` [U-Boot] [PATCH v2 4/4] arm, at91: add siemens corvus board Heiko Schocher
2013-11-04  8:53   ` Andreas Bießmann
2013-11-04  9:53     ` Heiko Schocher
2013-11-04 10:15       ` Andreas Bießmann
2013-11-04 10:32         ` Heiko Schocher
2013-11-04 10:51       ` Andreas Bießmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527757DE.9070001@gmail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox