blob: f0fc58deadbaf0d3b72e237592c0178d55d24b23 [file] [log] [blame]
Tom Rini10e47792018-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 Martin81d5b902012-10-29 10:47:43 +000012#include <common.h>
13
Trevor Woerner513f6402020-05-06 08:02:41 -040014#if defined(CONFIG_ARCH_TEGRA)
Wolfgang Denk88bd7432005-10-09 00:22:48 +020015static ulong timestamp;
16static ulong lastdec;
17
Jean-Christophe PLAGNIOL-VILLARD8c9fc002009-05-15 23:47:02 +020018int timer_init (void)
19{
Allen Martine60ab6e2012-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 Vasut16f6acd2012-10-03 08:54:12 +000024 return 0;
wdenkc6097192002-11-03 00:24:07 +000025}
wdenkf2140d52004-07-01 16:30:44 +000026#endif