mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
StandaloneMmPkg/StandaloneMmCoreEntryPoint: drop explicit SerialPortLib call
Sending DEBUG output to the serial port should only be done via DebugLib calls, which is in charge of initializing the serial port when appropriate. So drop the explicit SerialPortInitialize () invocation, and rely on normal constructor ordering to get the serial port into the appropriate state at the right time. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: "Yao, Jiewen" <jiewen.yao@intel.com> Reviewed-by: Achin Gupta <achin.gupta@arm.com>
This commit is contained in:
parent
8edde27a38
commit
4b771927c8
@ -232,9 +232,6 @@ _ModuleEntryPoint (
|
||||
VOID *TeData;
|
||||
UINTN TeDataSize;
|
||||
|
||||
Status = SerialPortInitialize ();
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
// Get Secure Partition Manager Version Information
|
||||
Status = GetSpmVersion ();
|
||||
if (EFI_ERROR (Status)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user