summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/xeon_sp/skx/include/soc/cpu.h
blob: 0221c7d057ba22a350a80d355fdb1b6f5ca42dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef _SOC_CPU_H_
#define _SOC_CPU_H_

#include <device/device.h>

/* SKXSP CPUID */
#define CPUID_SKYLAKE_SP_A0_A1 0x506f0
#define CPUID_SKYLAKE_SP_B0 0x506f1
#define CPUID_SKYLAKE_SP_4 0x50654

/* CPU bus clock is fixed at 100MHz */
#define CPU_BCLK 100

int get_cpu_count(void);
void xeon_sp_init_cpus(struct device *dev);

#endif