[U-Boot] [PATCH] Move bootstage timer out of lib/time.c

Anatolij Gustschin agust at denx.de
Tue Apr 10 23:42:32 CEST 2012


On Thu,  5 Apr 2012 15:05:17 -0700
Simon Glass <sjg at chromium.org> wrote:

> 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 <sjg at chromium.org>
> ---
>  common/bootstage.c  |   17 +++++++++++++++++
>  include/bootstage.h |    7 +++++++
>  include/common.h    |    7 -------
>  lib/time.c          |   17 -----------------
>  4 files changed, 24 insertions(+), 24 deletions(-)

Applied to u-boot-staging/agust at denx.de.

Thanks,
Anatolij


More information about the U-Boot mailing list