
26 Feb
2016
26 Feb
'16
6:13 p.m.
On 24 February 2016 at 09:14, Simon Glass sjg@chromium.org wrote:
In some cases the timer must be accessible before driver model is active. Examples include when using CONFIG_TRACE to trace U-Boot's execution before driver model is set up. Enable this option to use an early timer. These functions must be supported by your timer driver: timer_early_get_count() and timer_early_get_rate().
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Fix double space in comment
drivers/timer/Kconfig | 10 ++++++++++ include/timer.h | 21 +++++++++++++++++++++ lib/time.c | 28 +++++++++++++++++++++------- 3 files changed, 52 insertions(+), 7 deletions(-)
Applied to u-boot-dm.