All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] ARM: mxs: Get boot mode from OCRAM
Date: Wed, 22 Apr 2015 14:45:56 +0200	[thread overview]
Message-ID: <55379804.7000509@denx.de> (raw)
In-Reply-To: <1427410391-20411-1-git-send-email-joerg.krause@embedded.rocks>

On 26/03/2015 23:53, J?rg Krause wrote:
> Reading the boot mode pins after power-up does not necessarily represent the
> boot mode used by the ROM loader. For example the state of a pin may have
> changed because a recovery switch which was pressed to enter USB mode is
> already released after plugging in USB.
> 
> The ROM loader stores the value a fixed address in OCRAM. Use this value
> instead of reading the boot map pins.
> 
> The GLOBAL_BOOT_MODE_ADDR for i.MX28 is taken from an U-Boot patch for the
> MX28EVK:
> http://repository.timesys.com/buildsources/u/u-boot/u-boot-2009.08/u-boot-2009.08-mx28-201012211513.patch
> 
> Leave the boot mode detection for the i.MX23 untouched. Someone has to test
> whether the i.MX ROM loader does also store the boot mode in OCRAM and if the
> address match.
> 
> This patch superseeds my incorrect patch:
> ARM: mxs: get boot mode from OTP
> http://patchwork.ozlabs.org/patch/454930/
> 
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> Cc: Stefano Babic <sbabic@denx.de>
> ---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2015-04-22 12:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26 22:53 [U-Boot] [PATCH 1/1] ARM: mxs: Get boot mode from OCRAM Jörg Krause
2015-04-22 12:45 ` Stefano Babic [this message]
2015-04-29 10:12 ` Robert Deliën

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=55379804.7000509@denx.de \
    --to=sbabic@denx.de \
    --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 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.