ArmPkg: Update OemGetChassisType function to return MISC_CHASSIS_TYPE

Update OemGetChassisType in OemMiscLib to return MISC_CHASSIS_TYPE
instead of EFI_STATUS, which matches other OemMiscLib functions.

Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
This commit is contained in:
Rebecca Cran
2021-02-22 21:53:53 -07:00
committed by mergify[bot]
parent 869ccd4a3e
commit a2b5ea38a6
3 changed files with 8 additions and 39 deletions

View File

@@ -128,14 +128,12 @@ OemGetMaxProcessors (
/** Gets the type of chassis for the system.
@param ChassisType The type of the chassis.
@retval EFI_SUCCESS The chassis type was fetched successfully.
@retval The type of the chassis.
**/
EFI_STATUS
MISC_CHASSIS_TYPE
EFIAPI
OemGetChassisType (
OUT UINT8 *ChassisType
VOID
);
/** Returns whether the specified processor is present or not.