Angel Pons | 230e4f9d | 2020-04-05 15:47:14 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Lee Leahy | 87df8d0 | 2016-02-07 14:37:13 -0800 | [diff] [blame] | 2 | |
Lee Leahy | 87df8d0 | 2016-02-07 14:37:13 -0800 | [diff] [blame] | 3 | #include <cpu/x86/tsc.h> |
Lee Leahy | 87df8d0 | 2016-02-07 14:37:13 -0800 | [diff] [blame] | 4 | |
5 | unsigned long tsc_freq_mhz(void) | ||||
6 | { | ||||
Lee Leahy | 68fdb78 | 2016-12-31 08:21:56 -0800 | [diff] [blame] | 7 | /* CPU freq = 400 MHz */ |
8 | return 400; | ||||
9 | } |