diff options
Diffstat (limited to 'src/soc/ti/am335x/dmtimer.h')
-rw-r--r-- | src/soc/ti/am335x/dmtimer.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/ti/am335x/dmtimer.h b/src/soc/ti/am335x/dmtimer.h new file mode 100644 index 0000000000..ad8515fbba --- /dev/null +++ b/src/soc/ti/am335x/dmtimer.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __SOC_TI_AM335X_DMTIMER_H__ +#define __SOC_TI_AM335X_DMTIMER_H__ + +#include <stdint.h> + +#define OSC_HZ 24000000 + +void dmtimer_start(int num); +uint64_t dmtimer_raw_value(int num); + +#endif |