Revert "soc/intel/skylake: Clean up SoC ASL code."

This partially reverts commit a7b97510ae.

For the internal eMMC to be used by Windows for installation,
the CARD device and _RMV methods are required.  Without them,
Windows does not see/show the eMMC as a valid installation
target.

TEST: boot google/chell with Tianocore payload and install
Windows 10 to the internal eMMC drive.

Change-Id: I04819ff16ab4cb0d2ea6e1c7f47179f5dacb7cfd
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/22684
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2017-12-03 12:35:47 -06:00 committed by Martin Roth
parent 376dc82dca
commit ea629fa8c4
1 changed files with 18 additions and 0 deletions

View File

@ -101,6 +101,15 @@ Device (EMMC)
Or (PMCR, 0x0003, PMCR) Or (PMCR, 0x0003, PMCR)
Store (PMCR, ^TEMP) Store (PMCR, ^TEMP)
} }
Device (CARD)
{
Name (_ADR, 0x00000008)
Method (_RMV, 0, NotSerialized)
{
Return (0)
}
}
} }
#if !IS_ENABLED(CONFIG_EXCLUDE_NATIVE_SD_INTERFACE) #if !IS_ENABLED(CONFIG_EXCLUDE_NATIVE_SD_INTERFACE)
@ -162,5 +171,14 @@ Device (SDXC)
^^PCRO (PID_GPIOCOM3, 0x4e4, 0x00001000) ^^PCRO (PID_GPIOCOM3, 0x4e4, 0x00001000)
^^PCRO (PID_GPIOCOM3, 0x4f4, 0x00001000) ^^PCRO (PID_GPIOCOM3, 0x4f4, 0x00001000)
} }
Device (CARD)
{
Name (_ADR, 0x00000008)
Method (_RMV, 0, NotSerialized)
{
Return (1)
}
}
} }
#endif #endif