]> git.sur5r.net Git - u-boot/commit
Move bootstage timer out of lib/time.c
authorSimon Glass <sjg@chromium.org>
Thu, 5 Apr 2012 12:05:17 +0000 (12:05 +0000)
committerAnatolij Gustschin <agust@denx.de>
Tue, 10 Apr 2012 21:35:32 +0000 (23:35 +0200)
commit3786980dd3f28960947084c53878fd849ece897c
treea371031bd9712009b0cc4c62e72db7e876a67d29
parent35897c86b90d516165df7aa6372584493e9f1fa4
Move bootstage timer out of lib/time.c

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@chromium.org>
Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
common/bootstage.c
include/bootstage.h
include/common.h
lib/time.c