All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/6] x86: bootstage: Fix bootstage operation on link
@ 2017-08-27 15:23 Simon Glass
  2017-08-27 15:23 ` [U-Boot] [PATCH v2 1/6] board_f: Drop the timer after relocation Simon Glass
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Simon Glass @ 2017-08-27 15:23 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2017-09-14  2:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-27 15:23 [U-Boot] [PATCH v2 0/6] x86: bootstage: Fix bootstage operation on link Simon Glass
2017-08-27 15:23 ` [U-Boot] [PATCH v2 1/6] board_f: Drop the timer after relocation Simon Glass
2017-08-28  5:18   ` Bin Meng
2017-08-27 15:23 ` [U-Boot] [PATCH v2 2/6] dm: x86: Allow TSC timer to be used before DM is ready Simon Glass
2017-08-28  5:18   ` Bin Meng
2017-08-27 15:23 ` [U-Boot] [PATCH v2 3/6] dm: x86: Update timer_get_boot_us to work " Simon Glass
2017-08-28  5:18   ` Bin Meng
2017-09-06  1:39     ` Simon Glass
2017-09-12 13:47       ` Bin Meng
2017-09-14  2:15         ` Simon Glass
2017-08-27 15:23 ` [U-Boot] [PATCH v2 4/6] bootstage: Drop unused options Simon Glass
2017-08-28  5:18   ` Bin Meng
2017-08-27 15:23 ` [U-Boot] [PATCH v2 5/6] bootstage: Provide a separate record count setting for SPL Simon Glass
2017-08-28  5:18   ` Bin Meng
2017-08-27 15:23 ` [U-Boot] [PATCH v2 6/6] x86: Enable early timer for chromebook_link Simon Glass
2017-08-28  5:18   ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.