[U-Boot] [PATCH v2 08/16] timer: Provide an early timer

Simon Glass sjg at chromium.org
Fri Feb 26 18:13:27 CET 2016


On 24 February 2016 at 09:14, Simon Glass <sjg at 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 at 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.


More information about the U-Boot mailing list