From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 10 Apr 2012 23:42:32 +0200 Subject: [U-Boot] [PATCH] Move bootstage timer out of lib/time.c In-Reply-To: <1333663517-10898-1-git-send-email-sjg@chromium.org> References: <1333663517-10898-1-git-send-email-sjg@chromium.org> Message-ID: <20120410234232.68a72c4b@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 5 Apr 2012 15:05:17 -0700 Simon Glass 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 > --- > 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