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>
This commit is contained in:
Matt DeVillier 2023-08-10 11:48:43 -05:00 committed by Felix Held
parent fefb8be3d7
commit 1c57c9846a

View File

@ -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>