diff options
author | Simon Glass <sjg@chromium.org> | 2020-09-22 12:45:14 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-09-25 11:27:18 +0800 |
commit | 9b3e6d4c1f86b27f320ef9c5857a9ef223b2b356 (patch) | |
tree | bc5d7f6eee15b38fe84723811d775609cbb9f6f9 /arch/x86/include/asm/cpu_common.h | |
parent | 350c7f52b93c5612dd3d53966bd54cb68b94d80b (diff) | |
download | u-boot-9b3e6d4c1f86b27f320ef9c5857a9ef223b2b356.zip u-boot-9b3e6d4c1f86b27f320ef9c5857a9ef223b2b356.tar.gz u-boot-9b3e6d4c1f86b27f320ef9c5857a9ef223b2b356.tar.bz2 |
x86: acpi: Add common Intel ACPI tables
Add various tables that are common to Intel CPUs. These functions can be
used by arch-specific CPU code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/cpu_common.h')
-rw-r--r-- | arch/x86/include/asm/cpu_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cpu_common.h b/arch/x86/include/asm/cpu_common.h index a7b7112..48f56c2 100644 --- a/arch/x86/include/asm/cpu_common.h +++ b/arch/x86/include/asm/cpu_common.h @@ -177,4 +177,11 @@ int cpu_get_power_max(void); */ int cpu_get_max_turbo_ratio(void); +/** + * cpu_get_cores_per_package() - Get the number of CPU cores in each package + * + * @return number of cores + */ +int cpu_get_cores_per_package(void); + #endif |