public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage
@ 2013-04-18  2:13 Simon Glass
  2013-04-18  2:13 ` [U-Boot] [PATCH 01/19] x86: Remove unused bios/pci code Simon Glass
                   ` (19 more replies)
  0 siblings, 20 replies; 35+ messages in thread
From: Simon Glass @ 2013-04-18  2:13 UTC (permalink / raw)
  To: u-boot

This series removes unused x86 code based on advice from Graeme Russ. THis
code was used for real mode which is no longer needed in U-Boot.

A new more accurate timer is added, and this permits bootstage to be
enabled and produce useful results on x86.


Doug Anderson (2):
  bootstage: Copy bootstage strings post-relocation
  Call bootstage_relocate() after malloc is initted

Simon Glass (17):
  x86: Remove unused bios/pci code
  x86: Remove unused portion of link script
  x86: Remove legacy board init code
  x86: Declare global_data pointer when it is used
  x86: Implement panic output for coreboot
  x86: Rationalise kernel booting logic and bootstage
  x86: Add TSC timer
  x86: Remove old broken timer implementation
  x86: Remove ISR timer
  x86: Re-enable PCAT timer 2 for beeping
  bootstage: Add stubs for new bootstage functions
  x86: Enable bootstage for coreboot
  bootstage: Allow marking a particular line of code
  x86: Fix warning in cmd_ximg.c when CONFIG_GZIP is not defined
  x86: config: Enable LZO for coreboot, remove zlib, gzip
  x86: Support adding coreboot timestanps to bootstage
  x86: Add coreboot timestamps

 arch/x86/cpu/Makefile                          |   2 +-
 arch/x86/cpu/coreboot/coreboot.c               |  13 ++
 arch/x86/cpu/coreboot/timestamp.c              |  42 +++-
 arch/x86/cpu/cpu.c                             |   5 +
 arch/x86/cpu/interrupts.c                      |   2 +
 arch/x86/cpu/timer.c                           |  17 --
 arch/x86/cpu/u-boot.lds                        |  12 --
 arch/x86/include/asm/arch-coreboot/timestamp.h |   7 +
 arch/x86/include/asm/init_helpers.h            |   9 -
 arch/x86/include/asm/init_wrappers.h           |  42 ----
 arch/x86/include/asm/pci.h                     |   4 -
 arch/x86/include/asm/u-boot-x86.h              |   4 +
 arch/x86/include/asm/u-boot.h                  |  32 ---
 arch/x86/lib/Makefile                          |  10 +-
 arch/x86/lib/bios.h                            | 170 ---------------
 arch/x86/lib/board.c                           | 273 -------------------------
 arch/x86/lib/bootm.c                           |   8 -
 arch/x86/lib/cmd_boot.c                        |   2 +
 arch/x86/lib/init_helpers.c                    |  98 ---------
 arch/x86/lib/init_wrappers.c                   | 164 ---------------
 arch/x86/lib/pcat_timer.c                      |  69 +------
 arch/x86/lib/pci.c                             | 188 -----------------
 arch/x86/lib/physmem.c                         |   2 +
 arch/x86/lib/relocate.c                        |   2 +
 arch/x86/lib/timer.c                           | 116 -----------
 arch/x86/lib/tsc_timer.c                       | 107 ++++++++++
 arch/x86/lib/zimage.c                          |  11 +-
 common/board_r.c                               |   1 +
 common/bootstage.c                             |  44 ++++
 common/cmd_ximg.c                              |   2 +
 include/bootstage.h                            |  54 +++++
 include/configs/coreboot.h                     |  18 +-
 32 files changed, 314 insertions(+), 1216 deletions(-)
 delete mode 100644 arch/x86/cpu/timer.c
 delete mode 100644 arch/x86/include/asm/init_wrappers.h
 delete mode 100644 arch/x86/lib/bios.h
 delete mode 100644 arch/x86/lib/board.c
 delete mode 100644 arch/x86/lib/init_wrappers.c
 delete mode 100644 arch/x86/lib/pci.c
 delete mode 100644 arch/x86/lib/timer.c
 create mode 100644 arch/x86/lib/tsc_timer.c

-- 
1.8.2.1

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

end of thread, other threads:[~2013-05-13 21:58 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-18  2:13 [U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 01/19] x86: Remove unused bios/pci code Simon Glass
2013-04-18  2:50   ` Graeme Russ
2013-04-18  2:13 ` [U-Boot] [PATCH 02/19] x86: Remove unused portion of link script Simon Glass
2013-04-18  2:50   ` Graeme Russ
2013-04-18  2:13 ` [U-Boot] [PATCH 03/19] x86: Remove legacy board init code Simon Glass
2013-04-18  3:04   ` Graeme Russ
2013-04-18  2:13 ` [U-Boot] [PATCH 04/19] x86: Declare global_data pointer when it is used Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 05/19] x86: Implement panic output for coreboot Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 06/19] x86: Rationalise kernel booting logic and bootstage Simon Glass
2013-04-18  3:05   ` Graeme Russ
2013-04-18  2:13 ` [U-Boot] [PATCH 07/19] x86: Add TSC timer Simon Glass
2013-04-18  3:03   ` Graeme Russ
2013-04-26 13:41     ` Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 08/19] x86: Remove old broken timer implementation Simon Glass
2013-04-18  2:51   ` Graeme Russ
2013-04-18  2:13 ` [U-Boot] [PATCH 09/19] x86: Remove ISR timer Simon Glass
2013-04-18  2:45   ` Graeme Russ
2013-04-18  2:13 ` [U-Boot] [PATCH 10/19] x86: Re-enable PCAT timer 2 for beeping Simon Glass
2013-04-18  2:53   ` Graeme Russ
2013-04-26 13:43     ` Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 11/19] bootstage: Add stubs for new bootstage functions Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 12/19] bootstage: Copy bootstage strings post-relocation Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 13/19] Call bootstage_relocate() after malloc is initted Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 14/19] x86: Enable bootstage for coreboot Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 15/19] bootstage: Allow marking a particular line of code Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 16/19] x86: Fix warning in cmd_ximg.c when CONFIG_GZIP is not defined Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 17/19] x86: config: Enable LZO for coreboot, remove zlib, gzip Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 18/19] x86: Support adding coreboot timestanps to bootstage Simon Glass
2013-04-18  2:13 ` [U-Boot] [PATCH 19/19] x86: Add coreboot timestamps Simon Glass
2013-04-18 15:50 ` [U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage Vadim Bendebury (вб)
2013-04-25 22:12   ` Simon Glass
2013-05-09 21:22     ` Simon Glass
2013-05-13 19:25       ` Tom Rini
2013-05-13 21:58         ` Simon Glass

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