summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/fsp2_0')
-rw-r--r--src/drivers/intel/fsp2_0/ppi/mp_service2_noop.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/drivers/intel/fsp2_0/ppi/mp_service2_noop.c b/src/drivers/intel/fsp2_0/ppi/mp_service2_noop.c
index 4570bd917c..8e437a96ca 100644
--- a/src/drivers/intel/fsp2_0/ppi/mp_service2_noop.c
+++ b/src/drivers/intel/fsp2_0/ppi/mp_service2_noop.c
@@ -8,10 +8,13 @@ typedef EDKII_PEI_MP_SERVICES2_PPI efi_pei_mp_services_ppi;
static efi_return_status_t mps2_noop_get_number_of_processors(
efi_pei_mp_services_ppi *ignored1,
- efi_uintn_t *ignored2,
- efi_uintn_t *ignored3)
+ efi_uintn_t *number_of_processors,
+ efi_uintn_t *number_of_enabled_processors)
{
- return mp_api_unsupported();
+ *number_of_processors = 1; /* BSP alone */
+ *number_of_enabled_processors = 1; /* BSP alone */
+
+ return FSP_SUCCESS;
}
static efi_return_status_t mps2_noop_get_processor_info(