Pull request for efi-2021-04-rc6

Bug fix:
    Fix ConvertDeviceNodeToText() for Uart()
This commit is contained in:
Tom Rini
2021-03-31 13:05:57 -04:00
2 changed files with 3 additions and 1 deletions

View File

@@ -126,8 +126,10 @@ static char *dp_msging(char *s, struct efi_device_path *dp)
switch (uart->stop_bits) {
case 2:
s += sprintf(s, "1.5)");
break;
default:
s += sprintf(s, "%d)", uart->stop_bits);
break;
}
break;
}

View File

@@ -181,7 +181,7 @@ efi_status_t EFIAPI efi_main(efi_handle_t handle,
(void **)&device_path);
if (ret != EFI_SUCCESS) {
con_out->output_string
(con_out, L"Missing devide path for device handle\r\n");
(con_out, L"Missing device path for device handle\r\n");
goto out;
}
con_out->output_string(con_out, L"Boot device: ");