summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2017-12-12 19:11:40 +0100
committerPatrick Georgi <pgeorgi@google.com>2017-12-14 22:16:13 +0000
commit0019f1a6c063f353d587835699696ca461c2f7ae (patch)
tree1aa6e8c0ff51b5adf337bb8fcad98c6a776dea24 /src
parent8240a88c053685515e13e3dbb1bebab67c6dc819 (diff)
downloadcoreboot-0019f1a6c063f353d587835699696ca461c2f7ae.tar.xz
soc/intel/apollolake: add _RMV attributes to eMMC device ACPI
Required so Windows knows if the storage is removable or not. Change-Id: I0822d767ada872d55357ff229e47e08fbe778a36 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/22830 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/apollolake/acpi/scs.asl17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/acpi/scs.asl b/src/soc/intel/apollolake/acpi/scs.asl
index 5933d522c5..b15d278adb 100644
--- a/src/soc/intel/apollolake/acpi/scs.asl
+++ b/src/soc/intel/apollolake/acpi/scs.asl
@@ -109,6 +109,15 @@ Scope (\_SB.PCI0) {
*/
^^SCPG(1,0x00000041)
}
+
+ Device (CARD)
+ {
+ Name (_ADR, 0x00000008)
+ Method (_RMV, 0, NotSerialized)
+ {
+ Return (0)
+ }
+ }
} /* Device (SDHA) */
/* SD CARD */
@@ -162,5 +171,13 @@ Scope (\_SB.PCI0) {
Store (0, ^^GRR3)
}
+ Device (CARD)
+ {
+ Name (_ADR, 0x00000008)
+ Method (_RMV, 0, NotSerialized)
+ {
+ Return (1)
+ }
+ }
} /* Device (SDCD) */
}