[U-Boot] [PATCH 1/3] sandbox: Add test function to advance time

Simon Glass sjg at chromium.org
Fri Apr 24 06:13:54 CEST 2015


On 21 April 2015 at 12:57, Joe Hershberger <joe.hershberger at ni.com> wrote:
> Add a function that maintains an offset to include in the system timer
> values returned from the lib/time.c APIs.
>
> This will allow timeouts to be skipped instantly in tests
>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>
>  arch/sandbox/cpu/cpu.c          |  5 -----
>  arch/sandbox/include/asm/test.h |  8 ++++++++
>  board/sandbox/sandbox.c         | 11 ++++++++++-
>  3 files changed, 18 insertions(+), 6 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list