11 Apr, 2012

1 commit

  • The standalone example does not have get_timer() defined, so we cannot
    rely on it being available.

    Move the timer function into boootstage.c to avoid this problem.

    This corrects a build breakage for the standalone example on some boards.

    Signed-off-by: Simon Glass
    Acked-by: Matthias Fuchs

    Simon Glass
     

19 Mar, 2012

1 commit

  • Define timer_get_boot_us() which returns the number of microseconds
    since boot. If undefined then we use get_timer() * 1000.

    We can fit this in a 32-bit register which keeps everyone happy on
    the efficiency side. It will wrap around after about an hour. If we
    are still looking at it after an hour then we had better not be
    timing the boot.

    Signed-off-by: Simon Glass

    Simon Glass
     

22 Oct, 2011

1 commit


13 Apr, 2010

1 commit

  • Now that the other architecture-specific lib directories have been
    moved out of the top-level directory there's not much reason to have the
    '_generic' suffix on the common lib directory.

    Signed-off-by: Peter Tyser

    Peter Tyser