fix: add eMMC device type in platform device (#1956)

Enabled eMMC boot with OS loader payload.

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
This commit is contained in:
tsaikevin 2023-07-14 13:21:43 -07:00 committed by GitHub
parent 6a818eb039
commit 20b08e0800
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -92,6 +92,18 @@ CONST PLT_DEVICE mPlatformDevices[] = {
.Type = OsBootDeviceUfs,
.Instance = 1
},
{
.Dev = {
.PciDev = {
.PciFunctionNumber = PCI_FUNCTION_NUMBER_PCH_SCS_EMMC,
.PciDeviceNumber = PCI_DEVICE_NUMBER_PCH_SCS_EMMC,
.PciBusNumber = DEFAULT_PCI_BUS_NUMBER_PCH,
.IsMmioDevice = 0
}
},
.Type = OsBootDeviceEmmc,
.Instance = 0
},
{
.Dev = {
.PciDev = {