summaryrefslogtreecommitdiffstats
path: root/src/soc/sifive/fu540/include/soc/clock.h
blob: 8284dab06bdb8bec80e7b4731699de04b72a8f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#ifndef __SOC_SIFIVE_HIFIVE_U_CLOCK_H__
#define __SOC_SIFIVE_HIFIVE_U_CLOCK_H__

void clock_init(void);
int clock_get_coreclk_khz(void);
int clock_get_tlclk_khz(void);

#endif /* __SOC_SIFIVE_HIFIFE_U_CLOCK_H__ */