[U-Boot] [PATCH v2 0/6] x86: bootstage: Fix bootstage operation on link

Simon Glass sjg at chromium.org
Sun Aug 27 15:23:45 UTC 2017


Recent bootstage changes have provoked problems with chromebook_link.
Bootstage uses the timer before driver model is ready, but link uses
driver model for the timer.

This series:
- Updates the TSC timer to make the bootstage work before DM is ready
- Provides a way to have a separate setting for record count in SPL to
    save memory
- Tidies up a few bootstage options that are no-longer needed

This fixes booting on link which is currently broken.

Changes in v2:
- Update to support the early timer
- Rebase on top of early timer code and simplify slightly
- Add new patch to enable early timer for chromebook_link

Simon Glass (6):
  board_f: Drop the timer after relocation
  dm: x86: Allow TSC timer to be used before DM is ready
  dm: x86: Update timer_get_boot_us to work before DM is ready
  bootstage: Drop unused options
  bootstage: Provide a separate record count setting for SPL
  x86: Enable early timer for chromebook_link

 arch/x86/include/asm/global_data.h  |  1 +
 common/Kconfig                      | 16 ++++++------
 common/board_f.c                    |  1 +
 common/bootstage.c                  |  6 ++---
 configs/chromebook_link64_defconfig |  1 +
 configs/chromebook_link_defconfig   |  1 +
 configs/sandbox_defconfig           |  1 -
 configs/sandbox_flattree_defconfig  |  1 -
 configs/sandbox_noblk_defconfig     |  1 -
 configs/sandbox_spl_defconfig       |  1 -
 drivers/timer/tsc_timer.c           | 49 +++++++++++++++++++++++++++++--------
 include/bootstage.h                 |  6 -----
 12 files changed, 53 insertions(+), 32 deletions(-)

-- 
2.14.1.342.g6490525c54-goog



More information about the U-Boot mailing list