[U-Boot] [PATCH v2 5/5] x86: Switch to using generic global_data setup

Simon Glass sjg at chromium.org
Wed Aug 12 05:55:24 CEST 2015


On 11 August 2015 at 00:28, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Tue, Aug 11, 2015 at 10:44 AM, Simon Glass <sjg at chromium.org> wrote:
>> There is quite a bit of assembler code that can be removed if we use the
>> generic global_data setup. Less arch-specific code makes it easier to add
>> new features and maintain the start-up code.
>>
>> Drop the unneeded code and adjust the hooks in board_f.c to cope.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v2:
>> - Don't rely on value of %edx from board_init_f_mem()
>>
>>  arch/x86/cpu/cpu.c   |  4 ++-
>>  arch/x86/cpu/start.S | 95 +++++++---------------------------------------------
>>  common/board_f.c     |  3 +-
>>  3 files changed, 18 insertions(+), 84 deletions(-)
>>

[snip]
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot-x86


More information about the U-Boot mailing list