public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v3, 1/1] meson: gxbb: enable MMC as boot target
Date: Mon, 17 Apr 2017 13:46:59 -0700	[thread overview]
Message-ID: <871ssqsqws.fsf@aikidev.net> (raw)
In-Reply-To: <20170415193039.10170-1-xypron.glpk@gmx.de>

On 2017-04-15, xypron.glpk at gmx.de wrote:
> To enable automatic booting from SD card or eMMC the MMC
> devices 0, 1, and 2 are added to the BOOT_TARGET_DEVICES.
>
> Booting from SD card, eMMC, and DHCP are tried in sequence.
> A missing or failing device is gracefully handled.
>
> Cc: Andreas Färber <afaerber@suse.de>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Tested booting from microSD on an odroid-c2.

Tested-by: Vagrant Cascadian <vagrant@debian.org>

live well,
  vagrant

> ---
> v3:
>   Adjust patch title to reflect that this patch applies to all
>   gxbb boards.
>   Vega S95 Telos has 3 MMC devices.
>   So add MMC 2.
> v2:
>   odroid-c2: enable MMC as boot target
>   https://lists.denx.de/pipermail/u-boot/2017-April/287358.html
>   Enhance commit message to clearly indicate how the
>   boot targets are sequenced.
> v1:
>   This is a resubmission of
>   https://lists.denx.de/pipermail/u-boot/2017-April/287315.html
>   where this patch was part of patch series which was no longer applicable.
> ---
>  include/configs/meson-gxbb-common.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h
> index cc2b5b61d4..997ce2df19 100644
> --- a/include/configs/meson-gxbb-common.h
> +++ b/include/configs/meson-gxbb-common.h
> @@ -39,6 +39,9 @@
>  #include <config_distro_defaults.h>
>  
>  #define BOOT_TARGET_DEVICES(func) \
> +	func(MMC, mmc, 0) \
> +	func(MMC, mmc, 1) \
> +	func(MMC, mmc, 2) \
>  	func(DHCP, dhcp, na)
>  
>  #include <config_distro_bootcmd.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170417/47ba207e/attachment.sig>

  reply	other threads:[~2017-04-17 20:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-14 14:33 [U-Boot] [PATCH v2 1/1] odroid-c2: enable MMC as boot target Heinrich Schuchardt
2017-04-14 14:35 ` Andreas Färber
2017-04-15 19:16   ` Andreas Färber
2017-04-15 19:30     ` [U-Boot] [PATCH v3 1/1] meson: gxbb: " Heinrich Schuchardt
2017-04-17 20:46       ` Vagrant Cascadian [this message]
2017-04-19  5:12       ` Andreas Färber
2017-05-01 14:20         ` Andreas Färber
2017-05-01 15:49       ` [U-Boot] [U-Boot, v3, " 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=871ssqsqws.fsf@aikidev.net \
    --to=vagrant@debian.org \
    --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