]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Switch to using generic global_data setup
authorSimon Glass <sjg@chromium.org>
Tue, 11 Aug 2015 02:44:32 +0000 (20:44 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 15:50:10 +0000 (09:50 -0600)
commitf0c7d9c74642ccd6c76993b721b0fb87aab685fa
tree316adff8dc055af779a2bd08d64688ae3b24c7d0
parent2db937456114d964e814f8cc25131e3b2c641b49
x86: Switch to using generic global_data setup

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c
arch/x86/cpu/start.S
common/board_f.c