diff --git a/EmbeddedPkg/Library/PrePiHobLib/Hob.c b/EmbeddedPkg/Library/PrePiHobLib/Hob.c index c6a89e8ad6b3..49b2fecb8a22 100644 --- a/EmbeddedPkg/Library/PrePiHobLib/Hob.c +++ b/EmbeddedPkg/Library/PrePiHobLib/Hob.c @@ -369,7 +369,7 @@ SetBootMode ( Hob.Raw = GetHobList (); Hob.HandoffInformationTable->BootMode = BootMode; - return BootMode; + return EFI_SUCCESS; } /**