summaryrefslogtreecommitdiff
path: root/src/cpu/ti/am335x/dmtimer.h
blob: 7e93a0c8f6e9494f7ab1f8256df7ea4d362d0ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __CPU_TI_AM335X_DMTIMER_H__
#define __CPU_TI_AM335X_DMTIMER_H__

#include <stdint.h>

#define OSC_HZ 24000000

void dmtimer_start(int num);
uint64_t dmtimer_raw_value(int num);

#endif