mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Trent Piepho <tpiepho@kymetacorp.com>
Cc: barebox <barebox@lists.infradead.org>
Subject: Re: [PATCH] socfpga: Allow setting partition xloader boots from for mmc
Date: Mon, 14 Dec 2015 11:33:31 +0100	[thread overview]
Message-ID: <20151214103331.GZ14356@pengutronix.de> (raw)
In-Reply-To: <1449784305.26955.83.camel@rtred1test09.kymeta.local>

On Thu, Dec 10, 2015 at 09:51:39PM +0000, Trent Piepho wrote:
> The xloader boots the 2nd stage barebox from socfpga_barebox_part when
> using NOR.  But when using MMC it boots from a hardcoded "disk0.1".
> Add the mmc device name to the partition description and use it for
> mmc booting.
> 
> Add an extern declaration of socfpga_barebox_part to the socfpga
> header so that a board can change it to use a different partition.
> 
> Initialize socfpga_barebox_part to the default value instead of NULL to
> avoid the NULL check later.
> 
> Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com>
> ---
>  arch/arm/mach-socfpga/include/mach/generic.h | 4 ++++
>  arch/arm/mach-socfpga/xload.c                | 8 +++-----
>  2 files changed, 7 insertions(+), 5 deletions(-)

I read this patch again and now I understood it correctly. Looks good,
applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

      parent reply	other threads:[~2015-12-14 10:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-10 21:51 Trent Piepho
2015-12-11  9:41 ` Sascha Hauer
2015-12-11 19:22   ` Trent Piepho
2015-12-14 10:33 ` Sascha Hauer [this message]

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=20151214103331.GZ14356@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=tpiepho@kymetacorp.com \
    /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