soc/intel/xeon_sp/cpx: rename xeon_sp_get_cpu_count()
commit38c9b8045e16148eefd9dc3262484d87191dc354
authorJonathan Zhang <jonzhang@fb.com>
Wed, 17 Jun 2020 00:14:42 +0000 (16 17:14 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 22 Jun 2020 12:27:43 +0000 (22 12:27 +0000)
tree815331a0ad82d226686d2e8ae5795bd064a6df48
parent5569ee9d1353465fc0345e1eb94b9daf361d250a
soc/intel/xeon_sp/cpx: rename xeon_sp_get_cpu_count()

Rename function from xeon_sp_get_cpu_count()
to xeon_sp_get_socket_count().

This function returns CPU socket count, by getting it from the field
named as numCpus in FSP HOB.

Signed-off-by: Jonathan Zhang <jonzhang@fb.com>
Signed-off-by: Reddy Chagam <anjaneya.chagam@intel.com>
Change-Id: Ic96bdf4ab042ac15d43f9b636185627c63fbf8a1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42439
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/xeon_sp/cpx/acpi.c
src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h
src/soc/intel/xeon_sp/cpx/soc_util.c