summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/FspSupport/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/FspSupport/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c')
-rw-r--r--Platform/BroxtonPlatformPkg/Common/FspSupport/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/FspSupport/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c b/Platform/BroxtonPlatformPkg/Common/FspSupport/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c
index 5eae2165dd..d085f265b3 100644
--- a/Platform/BroxtonPlatformPkg/Common/FspSupport/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c
+++ b/Platform/BroxtonPlatformPkg/Common/FspSupport/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c
@@ -126,7 +126,7 @@ UpdateFspUpdConfigs (
FspmUpd = (FSPM_UPD *)FspUpdRgnPtr;
DEBUG ((DEBUG_INFO, "GetFspFspmUpdDataPointer - 0x%x\n", FspmUpd));
- FspmUpd->FspmConfig.SerialDebugPortDevice = 2;
+ FspmUpd->FspmConfig.SerialDebugPortDevice = PcdGet8(PcdSerialIoUartNumber);
FspmUpd->FspmConfig.SerialDebugPortType = 2;// Skip the serial port init since we already did it
FspmUpd->FspmConfig.SerialDebugPortStrideSize = 2;
FspmUpd->FspmConfig.SerialDebugPortAddress = 0;