From 99ce8a9bba091f9f57e46c48fa1493525c77b373 Mon Sep 17 00:00:00 2001 From: Venkateswarlu Vinjamuri Date: Wed, 22 Mar 2017 18:24:52 -0700 Subject: soc/intel/apollolake: Set sdcard card detect (CD) host ownership Currently sdcard CD host ownership is always owned by the GPIO driver. Due to this sdcard detection fails during initial boot process and OS fails to boot from sdcard. This implements change in host ownership from acpi to GPIO driver when kernel starts booting. BUG=b:35648535 TEST=Check OS boot from sdcard. Change-Id: I042a8762dc1f9cb73e6a24c1e7169c9746b2ee14 Signed-off-by: Venkateswarlu Vinjamuri Reviewed-on: https://review.coreboot.org/18947 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Vaibhav Shankar --- src/soc/intel/apollolake/acpi/globalnvs.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/apollolake/acpi/globalnvs.asl') diff --git a/src/soc/intel/apollolake/acpi/globalnvs.asl b/src/soc/intel/apollolake/acpi/globalnvs.asl index 86a1a23fd6..bdba305081 100644 --- a/src/soc/intel/apollolake/acpi/globalnvs.asl +++ b/src/soc/intel/apollolake/acpi/globalnvs.asl @@ -39,8 +39,8 @@ Field (GNVS, ByteAcc, NoLock, Preserve) NHLA, 64, // 0x19 - 0x20 - NHLT Address NHLL, 32, // 0x21 - 0x24 - NHLT Length PRT0, 32, // 0x25 - 0x28 - PERST_0 Address - SCD0, 32, // 0x29 - 0x2D - SD_CD Address - + SCDP, 8, // 0x29 - SD_CD GPIO portid + SCDO, 8, // 0x2A - GPIO pad offset relative to the community /* ChromeOS stuff (0x100 -> 0xfff, size 0xeff) */ Offset (0x100), #include -- cgit v1.2.3