mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] simplify i.MX external NAND boot for boards
Date: Sun, 20 Jan 2013 16:57:44 +0100	[thread overview]
Message-ID: <1358697466-26941-1-git-send-email-s.hauer@pengutronix.de> (raw)

The external NAND boot code has some significant code duplication
across boards. This adds a helper function for it and changes the
boards to use it.

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      ARM i.MX: Add a common NAND entry for external boot mode
      ARM i.MX boards: use helper function for external NAND boot

 arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c  |    7 --
 arch/arm/boards/eukrea_cpuimx25/lowlevel.c         |   35 +--------
 arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c  |    9 ---
 arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S    |   23 +-----
 arch/arm/boards/eukrea_cpuimx35/lowlevel.c         |   46 +++---------
 arch/arm/boards/freescale-mx25-3-stack/3stack.c    |    9 ---
 .../boards/freescale-mx25-3-stack/lowlevel_init.S  |   23 +-----
 arch/arm/boards/freescale-mx35-3-stack/3stack.c    |   12 ----
 .../boards/freescale-mx35-3-stack/lowlevel_init.S  |   23 +-----
 arch/arm/boards/guf-cupid/lowlevel.c               |   45 +++---------
 arch/arm/boards/guf-neso/lowlevel.c                |   33 +--------
 arch/arm/boards/imx21ads/imx21ads.c                |    9 ---
 arch/arm/boards/imx21ads/lowlevel_init.S           |   23 +-----
 arch/arm/boards/karo-tx25/board.c                  |    7 --
 arch/arm/boards/karo-tx25/lowlevel.c               |   33 +--------
 arch/arm/boards/pcm037/lowlevel.c                  |   34 ++-------
 arch/arm/boards/pcm037/pcm037.c                    |    8 ---
 arch/arm/boards/pcm038/lowlevel.c                  |   34 ++-------
 arch/arm/boards/pcm043/lowlevel.c                  |   47 +++---------
 arch/arm/boards/phycard-i.MX27/lowlevel_init.S     |   26 +------
 arch/arm/mach-imx/external-nand-boot.c             |   75 ++++++++++++++++++++
 arch/arm/mach-imx/include/mach/imx-nand.h          |    5 ++
 22 files changed, 127 insertions(+), 439 deletions(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-01-20 15:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-20 15:57 Sascha Hauer [this message]
2013-01-20 15:57 ` [PATCH 1/2] ARM i.MX: Add a common NAND entry for external boot mode Sascha Hauer
2013-01-20 15:57 ` [PATCH 2/2] ARM i.MX boards: use helper function for external NAND boot Sascha Hauer

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=1358697466-26941-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox