//\r
// Connect all default console variables\r
//\r
- Status = BdsLibConnectConsoleVariable (L"ConIn");\r
- if (EFI_ERROR (Status)) {\r
- return Status;\r
- }\r
\r
+ //\r
+ // Because possibly the platform is legacy free, in such case,\r
+ // ConIn devices (Serial Port and PS2 Keyboard ) does not exist, \r
+ // so we need not check the status.\r
+ // \r
+ BdsLibConnectConsoleVariable (L"ConIn");\r
+\r
+ // \r
+ // It seems impossible not to have any ConOut device on platform,\r
+ // so we check the status here.\r
+ //\r
Status = BdsLibConnectConsoleVariable (L"ConOut");\r
if (EFI_ERROR (Status)) {\r
return Status;\r