summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-08-10 11:52:01 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-08-11 22:49:32 +0000
commit086b251f0cc930fd3bcd6297286ea9cbd2676f28 (patch)
treede4c35a7dcb2aa235e914b9d707ae799272f7559
parent1c57c9846a2588834c7793a2ee7b613c1a2a00d6 (diff)
soc/intel/baytrail: Adjust status of IOSF ACPI object
Neither Windows nor mainline Linux make use of IOSF on the Baytrail platform, so adjust the ACPI status return value based on 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: I249028c57cc704955cf5a11e2088780ef58e16cf Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77141 Reviewed-by: Sean Rhodes <sean@starlabs.systems> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/baytrail/acpi/southcluster.asl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl
index 131825e341..9f3c76fff1 100644
--- a/src/soc/intel/baytrail/acpi/southcluster.asl
+++ b/src/soc/intel/baytrail/acpi/southcluster.asl
@@ -240,6 +240,15 @@ Device (IOSF)
RBAS = CONFIG_ECAM_MMCONF_BASE_ADDRESS + 0xD0
Return (^RBUF)
}
+
+ Method (_STA)
+ {
+#if CONFIG(CHROMEOS)
+ Return (0xF)
+#else
+ Return (0x0)
+#endif
+ }
}
/* LPC Bridge 0:1f.0 */