summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2023-07-14 17:21:14 +0200
committerLean Sheng Tan <sheng.tan@9elements.com>2023-07-18 06:56:03 +0000
commitb403849a438ddf184880e72139562cfba4efcfdf (patch)
tree7b154d7b1fc7256013ed9c5750753a659c73a7f2 /src/soc/intel
parentb096d625d53cfc5bf2dbc38310427efa7521001d (diff)
soc/intel/xeon_sp: Remove invalid comment
The comment is only true if all sockets have working CPUs installed. Change-Id: I8c3376c9233c33fb770082573e07e9d96abb7855 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76557 Reviewed-by: Johnny Lin <Johnny_Lin@wiwynn.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/xeon_sp/util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/soc/intel/xeon_sp/util.c b/src/soc/intel/xeon_sp/util.c
index be30923ac7..ef31a83d6b 100644
--- a/src/soc/intel/xeon_sp/util.c
+++ b/src/soc/intel/xeon_sp/util.c
@@ -132,7 +132,6 @@ bool soc_cpu_is_enabled(const size_t idx)
unsigned int soc_get_num_cpus(void)
{
- /* The FSP IIO UDS HOB has field numCpus, it is actually socket count */
return get_iio_uds()->SystemStatus.numCpus;
}