Skip to content

Remove unused code, add accurate timier and bootstage

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20130513192542.GF29196@bill-the-cat

Versions newest first

  1. v1 Latest0 of 19 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 19 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage
Quoted 81 lines · Simon Glass

Hi Tom,

Quoted 77 lines · Simon Glass

Hi Vadim,

Quoted 73 lines · Vadim Bendebury (????)
Quoted 72 lines · Simon Glass

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
Quoted 3 lines

Some of these patches touch bootstage which is generic code. Are you OK with me doing an x86 pull request for this, or should we do something else?

I'm OK with the x86 tree.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130513/c257357a/attachment.pgp>