Aaron Williams | b2ea818 | 2020-06-30 12:08:56 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /* | ||||
3 | * Copyright (C) 2018, 2019 Marvell International Ltd. | ||||
4 | */ | ||||
5 | |||||
6 | #include <asm/global_data.h> | ||||
7 | #include <mach/clock.h> | ||||
8 | |||||
9 | DECLARE_GLOBAL_DATA_PTR; | ||||
10 | |||||
11 | ulong notrace get_tbclk(void) | ||||
12 | { | ||||
13 | return gd->cpu_clk; | ||||
14 | } |