From a7b97510aeb1652fd0006c9b2d10df6568f37e2e Mon Sep 17 00:00:00 2001 From: Barnali Sarkar Date: Thu, 4 Aug 2016 17:46:55 +0530 Subject: soc/intel/skylake: Clean up SoC ASL code. List of changes done here in this patch 1. Remove CARD definition from EMMC and SD Card Controller in scs.asl since _RMV method does not get evaluated while setting up removable attribute in sysfs in kernel. "cat /sys/block/mmcblk1/removable" this command always returns 0. This CARD Device includes _ADR which follows SDIO Bus format. But, SD/EMMC sits on PCI Bus. Hence this CARD Device specific _ADR code is also not needed. 2. Remove Base Address for ACPI debug output memory buffer in systemagent.asl as it is not getting used throughout the code. BUG=none BRANCH=none TEST=Build and boot kunimitsu Change-Id: I29effaffdafcc21e26445ec3c54aedecdbc50274 Signed-off-by: Barnali Sarkar Reviewed-on: https://review.coreboot.org/16068 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Duncan Laurie Reviewed-by: Subrata Banik --- src/soc/intel/skylake/acpi/scs.asl | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/soc/intel/skylake/acpi/scs.asl') diff --git a/src/soc/intel/skylake/acpi/scs.asl b/src/soc/intel/skylake/acpi/scs.asl index 45591cb4c6..aea4483473 100644 --- a/src/soc/intel/skylake/acpi/scs.asl +++ b/src/soc/intel/skylake/acpi/scs.asl @@ -59,15 +59,6 @@ Device (EMMC) Store (Local0, ^D0D3) Store (^D0D3, Local0) } - - Device (CARD) - { - Name (_ADR, 0x00000008) - Method (_RMV, 0, NotSerialized) - { - Return (0) - } - } } #if !IS_ENABLED(CONFIG_EXCLUDE_NATIVE_SD_INTERFACE) @@ -130,14 +121,5 @@ Device (SDXC) ^^PCRO (PID_GPIOCOM3, 0x4e4, 0x00001000) ^^PCRO (PID_GPIOCOM3, 0x4f4, 0x00001000) } - - Device (CARD) - { - Name (_ADR, 0x00000008) - Method (_RMV, 0, NotSerialized) - { - Return (1) - } - } } #endif -- cgit v1.2.3