summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/PrePeiCore/PrePeiCore.c
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPlatformPkg/PrePeiCore/PrePeiCore.c')
-rw-r--r--ArmPlatformPkg/PrePeiCore/PrePeiCore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCore.c b/ArmPlatformPkg/PrePeiCore/PrePeiCore.c
index cbaccbbad9..5911c3a08a 100644
--- a/ArmPlatformPkg/PrePeiCore/PrePeiCore.c
+++ b/ArmPlatformPkg/PrePeiCore/PrePeiCore.c
@@ -76,6 +76,10 @@ PrintFirmwareVersion (
__TIME__,
__DATE__
);
+
+ // Because we are directly bit banging the serial port instead of going through the DebugLib, we need to make sure
+ // the serial port is initialized before we write to it
+ SerialPortInitialize ();
SerialPortWrite ((UINT8 *)Buffer, CharCount);
}