Skip to content

Commit

Permalink
SurfaceDuoFamilyPkg: Disable SDCard check to allow SDcard boot.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunflower2333 committed Aug 20, 2024
1 parent efb6fc4 commit b993451
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,11 @@ MsBootPolicyLibIsDevicePathBootable (

Size = GetDevicePathSize (DevicePath);

SdCardDevicePath = GetSdCardDevicePath ();
// woa msmnile patch start
// Set SdCardDevicePath to NULL so the after codes will not disable SD Card Boot.
// SdCardDevicePath = GetSdCardDevicePath ();
SdCardDevicePath = NULL;
// woa-msmnile patch end

if (NULL != SdCardDevicePath) {
PrintDevicePath (SdCardDevicePath);
Expand Down

0 comments on commit b993451

Please sign in to comment.