All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] davinci: spl: use bootcfg to select boot device
Date: Tue, 10 Jan 2017 22:19:49 -0500	[thread overview]
Message-ID: <20170111031949.GK7532@bill-the-cat> (raw)
In-Reply-To: <20170109100638.19990-2-fparent@baylibre.com>

On Mon, Jan 09, 2017 at 11:06:36AM +0100, Fabien Parent wrote:

> 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
> commit 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.
> 
> Signed-off-by: Fabien Parent <fparent@baylibre.com>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170110/9c81dd98/attachment.sig>

  reply	other threads:[~2017-01-11  3:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09 10:06 [U-Boot] [PATCH 0/3] davinci: spl: select boot device based on boot pin cfg Fabien Parent
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 [this message]
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=20170111031949.GK7532@bill-the-cat \
    --to=trini@konsulko.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 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.