Skip to content

Commit

Permalink
DasharoPayloadPkg/PlatformBootManagerLib: Do not connect LPC
Browse files Browse the repository at this point in the history
Calling BS->ConnectController on LPC device to populate all SIO
devices caused the ConPlatformDxe to set up the consoles before
the PrepareLpcBridgeDevicePath updated the console variables.
This resulted in a bug which required 2 resets before the serial
console redirection for port 1 got disabled.

Signed-off-by: Michał Żygowski <[email protected]>
  • Loading branch information
miczyg1 committed Dec 9, 2024
1 parent 4625e69 commit 7dbfe58
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,6 @@ PrepareLpcBridgeDevicePath (
return Status;
}

/* Start the drivers for all child devices of this controller/device */
gBS->ConnectController (DeviceHandle, NULL, NULL, TRUE);

TempDevicePath = DevicePath;

/* Don't bother with adding PS/2 keyboard if PS/2 not enabled in the project */
Expand Down

0 comments on commit 7dbfe58

Please sign in to comment.