diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2015-03-24 11:12:47 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-28 12:07:46 -0400 |
commit | 5bcd19aa299bf6832e943e3531400c1499f2c04d (patch) | |
tree | 400cc5b0d71bd44a48d92da75214ed1058c68214 /common/cmd_mdio.c | |
parent | 03314f0e248ed8685ee6bfe36bd0f607f38e2cfb (diff) | |
download | u-boot-imx-5bcd19aa299bf6832e943e3531400c1499f2c04d.zip u-boot-imx-5bcd19aa299bf6832e943e3531400c1499f2c04d.tar.gz u-boot-imx-5bcd19aa299bf6832e943e3531400c1499f2c04d.tar.bz2 |
common/board_f: move board_init_f_mem() from #else CONFIG_X86
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>
Diffstat (limited to 'common/cmd_mdio.c')
0 files changed, 0 insertions, 0 deletions