blob: 8437717a7b2388383b5bce74dd2dc4a2a69376e5 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
wdenkc6097192002-11-03 00:24:07 +00002/*
3 * (C) Copyright 2002
4 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
5 * Marius Groeger <mgroeger@sysgo.de>
6 *
7 * (C) Copyright 2002
8 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
9 * Alex Zuepke <azu@sysgo.de>
wdenkc6097192002-11-03 00:24:07 +000010 */
11
Allen Martind598e0f2012-10-29 10:47:43 +000012#include <common.h>
13
Marek Vasuta63dd622012-10-03 08:54:12 +000014#if defined(CONFIG_TEGRA)
Wolfgang Denk96782c62005-10-09 00:22:48 +020015static ulong timestamp;
16static ulong lastdec;
17
Jean-Christophe PLAGNIOL-VILLARDb54384e2009-05-15 23:47:02 +020018int timer_init (void)
19{
Allen Martinc037c932012-08-31 08:30:09 +000020 /* No timer routines for tegra as yet */
21 lastdec = 0;
wdenkc6097192002-11-03 00:24:07 +000022 timestamp = 0;
23
Marek Vasuta63dd622012-10-03 08:54:12 +000024 return 0;
wdenkc6097192002-11-03 00:24:07 +000025}
wdenk39539882004-07-01 16:30:44 +000026#endif