All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Hunter <jon-hunter@ti.com>
To: Elvis Dowson <elvis.dowson@mac.com>
Cc: linux-omap Mailing List <linux-omap@vger.kernel.org>
Subject: Re: Determining reason for power-up : warm or cold boot
Date: Wed, 2 Feb 2011 15:08:31 -0600	[thread overview]
Message-ID: <4D49C7CF.1070400@ti.com> (raw)
In-Reply-To: <66BB0CC3-00BA-4C5B-A3E7-42295A339255@mac.com>

On 2/2/2011 3:03 PM, Elvis Dowson wrote:
> Hi,
>         Is there a register that I can read, to determine if an OMAP34xx chip was powered up because of a cold boot (power cycled off to on), or a warm boot (software initiated reset or software initiated reboot)?
>


Yes, you can read the PRM_RSTST register at physical address 0x48307258.

Cheers
Jon

           reply	other threads:[~2011-02-02 21:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <66BB0CC3-00BA-4C5B-A3E7-42295A339255@mac.com>]

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=4D49C7CF.1070400@ti.com \
    --to=jon-hunter@ti.com \
    --cc=elvis.dowson@mac.com \
    --cc=linux-omap@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.