diff --git a/CorebootModulePkg/Library/CorebootBdsLib/BdsPlatform.c b/CorebootModulePkg/Library/CorebootBdsLib/BdsPlatform.c index 011c2df0bf..583487c3bc 100644 --- a/CorebootModulePkg/Library/CorebootBdsLib/BdsPlatform.c +++ b/CorebootModulePkg/Library/CorebootBdsLib/BdsPlatform.c @@ -1265,6 +1265,11 @@ Returns: Status = gBS->SetTimer (UserInputDurationTime, TimerRelative, 20000000); ASSERT (Status == EFI_SUCCESS); + // + // invoke SMM handler to put eMMC/SD devices into ACPI mode for OS + // + IoWrite8(0xb2, 0xcd); + // // To give the User a chance to enter Setup here, if user set TimeOut is 0. // BDS should still give user a chance to enter Setup diff --git a/CorebootModulePkg/Library/CorebootBdsLib/BdsPlatform.h b/CorebootModulePkg/Library/CorebootBdsLib/BdsPlatform.h index d447f77747..f9416e602a 100644 --- a/CorebootModulePkg/Library/CorebootBdsLib/BdsPlatform.h +++ b/CorebootModulePkg/Library/CorebootBdsLib/BdsPlatform.h @@ -42,6 +42,7 @@ Abstract: #include #include #include +#include #include