
12 Aug
2015
12 Aug
'15
5:55 a.m.
On 11 August 2015 at 00:28, Bin Meng bmeng.cn@gmail.com wrote:
On Tue, Aug 11, 2015 at 10:44 AM, Simon Glass sjg@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@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@gmail.com
Applied to u-boot-x86