BdsPlatform: generate SMM events to put eMMC/SD in proper mode

For Baytrail devices, coreboot leaves the eMMC/SD in PCI mode to enable
detection by Tianocore, so put into ACPI mode before OS boots.
Fixes booting on Baytrail devices.

Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
Matt DeVillier
2017-01-03 21:29:13 -06:00
parent 64f7b0fdba
commit 4f60b6a439
2 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,7 @@ Abstract:
#include <Library/UefiLib.h>
#include <Library/DxeServicesTableLib.h>
#include <Library/DevicePathLib.h>
#include <Library/IoLib.h>
#include <Protocol/PciIo.h>