From: Fabien Parent <fparent@baylibre.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] davinci: spl: select boot device based on boot pin cfg
Date: Mon, 9 Jan 2017 11:06:35 +0100 [thread overview]
Message-ID: <20170109100638.19990-1-fparent@baylibre.com> (raw)
Right now the SPL is trying to load u-boot based on defines, i.e. one has to
define CONFIG_SPL_NAND_SIMPLE to boot from NAND, or CONFIG_SPL_SPI_LOAD to boot
from SPI FLASH, etc...
This prevent us from having a single SPL image that is able to boot from all
media, and one need to build an image for each medium. This patchset is
replacing the #ifdef that select the boot medium by reading the value of the
boot pins (via the BOOTCFG register).
Now a single SPL image will be able to read from the boot pin to know
which device should be used to load u-boot.
This patchset is also enable SPL's MMC boot for the OMAPL138-LCDK in order
to have one image that is able to boot from MMC and NAND.
Fabien Parent (3):
davinci: spl: use bootcfg to select boot device
omapl138_lcdk: enable SPL MMC support
omapl138_lcdk: remove empty ifdef block
arch/arm/mach-davinci/include/mach/hardware.h | 16 ++++++++++++--
arch/arm/mach-davinci/spl.c | 31 +++++++++++++++++++--------
configs/omapl138_lcdk_defconfig | 1 +
include/configs/omapl138_lcdk.h | 3 ---
4 files changed, 37 insertions(+), 14 deletions(-)
--
2.11.0
next reply other threads:[~2017-01-09 10:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 10:06 Fabien Parent [this message]
2017-01-09 10:06 ` [U-Boot] [PATCH 1/3] davinci: spl: use bootcfg to select boot device Fabien Parent
2017-01-11 3:19 ` Tom Rini
2017-01-15 18:31 ` [U-Boot] [U-Boot, " Tom Rini
2017-01-09 10:06 ` [U-Boot] [PATCH 2/3] omapl138_lcdk: enable SPL MMC support Fabien Parent
2017-01-11 3:19 ` Tom Rini
2017-01-15 18:31 ` [U-Boot] [U-Boot,2/3] " Tom Rini
2017-01-09 10:06 ` [U-Boot] [PATCH 3/3] omapl138_lcdk: remove empty ifdef block Fabien Parent
2017-01-11 3:20 ` Tom Rini
2017-01-15 18:32 ` [U-Boot] [U-Boot,3/3] " Tom Rini
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=20170109100638.19990-1-fparent@baylibre.com \
--to=fparent@baylibre.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