From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 28 Mar 2015 14:10:12 -0400 Subject: [U-Boot] common/board_f: move board_init_f_mem() from #else CONFIG_X86 In-Reply-To: <1427184767-13957-1-git-send-email-abrodkin@synopsys.com> References: <1427184767-13957-1-git-send-email-abrodkin@synopsys.com> Message-ID: <20150328181012.GQ32541@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Simon Glass > Cc: Tom Rini 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: