[U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage

Tom Rini trini at ti.com
Mon May 13 21:25:42 CEST 2013


On Thu, May 09, 2013 at 02:22:32PM -0700, Simon Glass wrote:

> Hi Tom,
> 
> On Thu, Apr 25, 2013 at 3:12 PM, Simon Glass <sjg at chromium.org> wrote:
> > Hi Vadim,
> >
> > On Thu, Apr 18, 2013 at 8:50 AM, Vadim Bendebury (????)
> > <vbendeb at google.com> wrote:
> >>  On Wed, Apr 17, 2013 at 7:13 PM, Simon Glass <sjg at chromium.org> wrote:
> >>>
> >>> 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
> 
> 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.

-- 
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>


More information about the U-Boot mailing list