From a5215c4eb3a4cbe0ef32257c4da2e5a6e0febdef Mon Sep 17 00:00:00 2001 From: Reka Norman Date: Fri, 22 Sep 2023 15:26:54 +1000 Subject: soc/intel: Move USB wake methods to a common ASL file The ACPI methods for enabling USB wake are identical on ADL, CNL and SKL. Move them to a common ASL file so they can be reused more easily on other SoCs. Also move the USB_PORT_WAKE_ENABLE macro used to create enable bitmasks in devicetree to a common header. BUG=b:300844110 TEST=Use abuild to build kinox, puff, and fizz with and without this change. Check the generated dsdt.aml is unchanged. Change-Id: Iabdfe2bece7fafc284ddf04382f1bbcacc370cce Signed-off-by: Reka Norman Reviewed-on: https://review.coreboot.org/c/coreboot/+/78085 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/soc/intel/skylake/chip.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/intel/skylake/chip.h') diff --git a/src/soc/intel/skylake/chip.h b/src/soc/intel/skylake/chip.h index 5119037f6a..3070c462ba 100644 --- a/src/soc/intel/skylake/chip.h +++ b/src/soc/intel/skylake/chip.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3