public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/5] x86: Move x86 to use board_init_f_mem() instead of assembler
@ 2015-08-03  0:10 Simon Glass
  2015-08-03  0:10 ` [U-Boot] [PATCH 1/5] x86: Remove init_gd() function Simon Glass
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Simon Glass @ 2015-08-03  0:10 UTC (permalink / raw)
  To: u-boot

Much of the early-init assembler on x86 can be removed if we use the new
board_init_f_mem() function. At present only PowerPC uses it, but we should
try to move more archs over.

This has been contemplated for a while but it is time to take the plunge.


Simon Glass (5):
  x86: Remove init_gd() function
  Align global_data to a 16-byte boundary
  Allow arch-specific setting of global_data in board_init_f_mem()
  x86: Move the GDT into global_data
  x86: Switch to using generic global_data setup

 arch/x86/cpu/cpu.c                 | 11 +++--
 arch/x86/cpu/start.S               | 86 +++++---------------------------------
 arch/x86/include/asm/global_data.h |  4 +-
 arch/x86/include/asm/u-boot-x86.h  |  1 -
 common/board_f.c                   | 19 ++++++---
 include/asm-generic/global_data.h  |  2 +-
 include/common.h                   | 40 ++++++++++++++++++
 7 files changed, 75 insertions(+), 88 deletions(-)

-- 
2.5.0.rc2.392.g76e840b

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-08-10 18:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03  0:10 [U-Boot] [PATCH 0/5] x86: Move x86 to use board_init_f_mem() instead of assembler Simon Glass
2015-08-03  0:10 ` [U-Boot] [PATCH 1/5] x86: Remove init_gd() function Simon Glass
2015-08-06  7:15   ` Bin Meng
2015-08-03  0:10 ` [U-Boot] [PATCH 2/5] Align global_data to a 16-byte boundary Simon Glass
2015-08-06  7:15   ` Bin Meng
2015-08-03  0:10 ` [U-Boot] [PATCH 3/5] Allow arch-specific setting of global_data in board_init_f_mem() Simon Glass
2015-08-03 15:58   ` York Sun
2015-08-06  7:15   ` Bin Meng
2015-08-07 19:09     ` Simon Glass
2015-08-03  0:10 ` [U-Boot] [PATCH 4/5] x86: Move the GDT into global_data Simon Glass
2015-08-06  7:15   ` Bin Meng
2015-08-03  0:10 ` [U-Boot] [PATCH 5/5] x86: Switch to using generic global_data setup Simon Glass
2015-08-06  7:16   ` Bin Meng
2015-08-10 18:51     ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox