public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bo Shen <bard.shen@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 1/3] at91: add defines for reset type
Date: Mon, 28 Oct 2013 13:05:19 +0800	[thread overview]
Message-ID: <526DF08F.6030901@gmail.com> (raw)
In-Reply-To: <1382421100-28378-2-git-send-email-hs@denx.de>

Hi Heiko Schocher,

On 10/22/2013 13:51, Heiko Schocher wrote:
> From: Roger Meier <r.meier@siemens.com>
>
> Signed-off-by: Roger Meier <r.meier@siemens.com>
> Reviewed-by: Heiko Schocher <hs@denx.de>
> Cc: Andreas Bie?mann <andreas.devel@googlemail.com>

Acked-by: Bo Shen <voice.shen@atmel.com>

> ---
>   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
>

Best Regards,
Bo Shen

  reply	other threads:[~2013-10-28  5:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22  5:51 [U-Boot] [PATCH v1 0/3] arm, at91: support for the taurus and corvus board Heiko Schocher
2013-10-22  5:51 ` [U-Boot] [PATCH v1 1/3] at91: add defines for reset type Heiko Schocher
2013-10-28  5:05   ` Bo Shen [this message]
2013-10-22  5:51 ` [U-Boot] [PATCH v1 2/3] arm, at91: add Siemens board taurus (based on AT91SAM9G20) Heiko Schocher
2013-10-28  5:24   ` Bo Shen
2013-10-29  9:43     ` Andreas Bießmann
2013-10-29 12:25       ` Heiko Schocher
2013-10-22  5:51 ` [U-Boot] [PATCH v1 3/3] arm, at91: add siemens corvus board Heiko Schocher
2013-10-28  5:45   ` Bo Shen
2013-10-29 10:01     ` Andreas Bießmann
2013-10-29 12:41       ` Heiko Schocher
2013-10-29 13:05         ` 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=526DF08F.6030901@gmail.com \
    --to=bard.shen@gmail.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