summaryrefslogtreecommitdiffstats
path: root/DuetPkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/Library')
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index f73f824f2d..c927d13eec 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -755,7 +755,7 @@ Returns:
{
EFI_STATUS Status;
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
-
+
DevicePath = NULL;
Status = gBS->HandleProtocol (
DeviceHandle,
@@ -932,6 +932,7 @@ Returns:
&gEfiGlobalVariableGuid,
&DevicePathSize
);
+
if (VarConout == NULL || VarConin == NULL) {
//
// Do platform specific PCI Device check and add them to ConOut, ConIn, ErrOut