summaryrefslogtreecommitdiff
path: root/src/soc/intel/denverton_ns
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2020-10-03 21:42:50 +0530
committerSubrata Banik <subrata.banik@intel.com>2020-10-05 04:00:19 +0000
commit3b3bbd4fbacf2ae50dfface02e901567a79ea985 (patch)
treeeed2f4d538fc825e19ff764014fa546eb67ebc2f /src/soc/intel/denverton_ns
parent73968fd14b67a38bf671479c0b55859497649062 (diff)
downloadcoreboot-3b3bbd4fbacf2ae50dfface02e901567a79ea985.tar.xz
soc/intel/common/block/acpi: Factor out common smbus.asl
This patch moves smbus.asl into common block acpi directory to avoid duplicating the same ASL code block across SoC directory. TEST=Able to build and boot TGL, CNL and CML platform. 1) Dump and disassemble DSDT, verify SBUS device present inside common smbus.asl is still there. 2) Verify no ACPI error seen while running 'dmesg` from console. Signed-off-by: Subrata Banik <subrata.banik@intel.com> Change-Id: Ib1ae48f7ece3e521501d92c40cd551287ea2f1ec Reviewed-on: https://review.coreboot.org/c/coreboot/+/45979 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/denverton_ns')
-rw-r--r--src/soc/intel/denverton_ns/acpi/smbus.asl8
-rw-r--r--src/soc/intel/denverton_ns/acpi/southcluster.asl2
2 files changed, 1 insertions, 9 deletions
diff --git a/src/soc/intel/denverton_ns/acpi/smbus.asl b/src/soc/intel/denverton_ns/acpi/smbus.asl
deleted file mode 100644
index 7860f606c9..0000000000
--- a/src/soc/intel/denverton_ns/acpi/smbus.asl
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-// Intel SMBus Controller 0:1f.4
-
-Device (SBUS)
-{
- Name (_ADR, 0x001f0004)
-}
diff --git a/src/soc/intel/denverton_ns/acpi/southcluster.asl b/src/soc/intel/denverton_ns/acpi/southcluster.asl
index ad9c088c15..68f55f295b 100644
--- a/src/soc/intel/denverton_ns/acpi/southcluster.asl
+++ b/src/soc/intel/denverton_ns/acpi/southcluster.asl
@@ -117,7 +117,7 @@ Device (P2SB)
#include "pmc.asl"
// SMBus 0:1f.4
-#include "smbus.asl"
+#include <soc/intel/common/block/acpi/acpi/smbus.asl>
// Northpeak 0:1f.7
#include "npk.asl"