blob: bd850c0c0b0f56e62920111a46a691acb4dc8a42 [file] [log] [blame]
Gabe Black3c7e9392013-05-26 07:15:57 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 Google, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Gabe Black3c7e9392013-05-26 07:15:57 -070014 */
15
16#ifndef __CPU_TI_AM335X_DMTIMER_H__
17#define __CPU_TI_AM335X_DMTIMER_H__
18
19#include <stdint.h>
20
21#define OSC_HZ 24000000
22
23void dmtimer_start(int num);
24uint64_t dmtimer_raw_value(int num);
25
26#endif