diff options
author | Subrata Banik <subrata.banik@intel.com> | 2018-01-18 15:26:20 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2018-01-24 13:28:31 +0000 |
commit | 1014de685883186b4a501118c66fb35bfe5b588e (patch) | |
tree | 32efc89553db6e0046433b42037da00fce31e8e6 /src | |
parent | a971254d6756b1bcb78d9ac7a98789e995792a7a (diff) |
soc/intel/cannonlake: Add child CARD device into eMMC/SD controller
For the internal eMMC to be used by non-chrome for installation,
the CARD device and _RMV methods are required. Without these,
other OSes does not show the eMMC as a valid installation target.
TEST= boot CNL-RVP with Tiano payload and install Windows 10
to the internal eMMC drive.
Change-Id: Icfdccd88bc113d97c2fabf4c63d8d772737a6057
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/23314
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/cannonlake/acpi/scs.asl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/soc/intel/cannonlake/acpi/scs.asl b/src/soc/intel/cannonlake/acpi/scs.asl index 61f1739e86..4d68d56391 100644 --- a/src/soc/intel/cannonlake/acpi/scs.asl +++ b/src/soc/intel/cannonlake/acpi/scs.asl @@ -17,6 +17,7 @@ Scope (\_SB.PCI0) { /* EMMC */ Device(PEMC) { Name(_ADR, 0x001A0000) + Name (_DDN, "eMMC Controller") Name (TEMP, 0) OperationRegion(SCSR, PCI_Config, 0x00, 0x100) @@ -45,12 +46,22 @@ Scope (\_SB.PCI0) { Or (PMCR, 0x0003, PMCR) Store (PMCR, ^TEMP) } + + Device (CARD) + { + Name (_ADR, 0x00000008) + Method (_RMV, 0, NotSerialized) + { + Return (0) + } + } } /* SD CARD */ Device (SDXC) { Name (_ADR, 0x00140005) + Name (_DDN, "SD Controller") Name (TEMP, 0) OperationRegion (SDPC, PCI_Config, 0x00, 0x100) @@ -80,5 +91,14 @@ Scope (\_SB.PCI0) { Or (PMCR, 0x0003, PMCR) Store (PMCR, ^TEMP) } + + Device (CARD) + { + Name (_ADR, 0x00000008) + Method (_RMV, 0, NotSerialized) + { + Return (1) + } + } } /* Device (SDXC) */ } |