summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-08-10 11:48:43 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-08-11 22:48:56 +0000
commit1c57c9846a2588834c7793a2ee7b613c1a2a00d6 (patch)
tree8300b431e9683c4b01b9b6ba1ec12b25580324d9 /src
parentfefb8be3d721def8c303273ff4d065e89ce3151b (diff)
mb/google/rambi: Guard inclusion of DPTF ACPI object
Neither Windows nor mainline Linux make use of DPTF on the Baytrail platform, so guard its inclusion with CONFIG(CHROMEOS) to prevent an unknown device being listed in Windows device manager. TEST=build/boot Win11, Linux 6.2 on google/swanky Change-Id: Ifc4d349691b647fe2d70c92bd20d1b1128b1e10a Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77140 Reviewed-by: Sean Rhodes <sean@starlabs.systems> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/rambi/dsdt.asl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/rambi/dsdt.asl b/src/mainboard/google/rambi/dsdt.asl
index 63a1fc7885..21d59321be 100644
--- a/src/mainboard/google/rambi/dsdt.asl
+++ b/src/mainboard/google/rambi/dsdt.asl
@@ -27,9 +27,10 @@ DefinitionBlock(
#include <soc/intel/baytrail/acpi/southcluster.asl>
#include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
-
+#if CONFIG(CHROMEOS)
/* Dynamic Platform Thermal Framework */
#include "acpi/dptf.asl"
+#endif
}
#include <southbridge/intel/common/acpi/sleepstates.asl>