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] common/board_f: move board_init_f_mem() from #else CONFIG_X86
Date: Sat, 28 Mar 2015 14:10:12 -0400	[thread overview]
Message-ID: <20150328181012.GQ32541@bill-the-cat> (raw)
In-Reply-To: <1427184767-13957-1-git-send-email-abrodkin@synopsys.com>

On Tue, Mar 24, 2015 at 11:12:47AM +0300, Alexey Brodkin wrote:

> Purpose of this change is to make it possible to re-use code currently
> used on X86 solely for other architectures. For example:
>  * init_sequence_f_r
>  * board_init_f_r
> 
> Even though board_init_f_mem() has nothing to do with any particular
> architecture it won't work (at least in current implementation) for X86.
> 
> This is because on X86 "gd" is an alias to function get_fs_gd_ptr(),
> thus we cannot assign anything to it.
> 
> So this change separates selection of board_init_f_mem() from X86 while
> keeping it disabled for X86 still.
> 
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

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

      parent reply	other threads:[~2015-03-28 18:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24  8:12 [U-Boot] [PATCH] common/board_f: move board_init_f_mem() from #else CONFIG_X86 Alexey Brodkin
2015-03-27  7:07 ` Alexey Brodkin
2015-03-28 15:14   ` Simon Glass
2015-03-28 18:10 ` Tom Rini [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=20150328181012.GQ32541@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.