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>
This commit is contained in:
Matt DeVillier 2023-08-10 11:52:01 -05:00 committed by Felix Held
parent 1c57c9846a
commit 086b251f0c
1 changed files with 9 additions and 0 deletions

View File

@ -240,6 +240,15 @@ Device (IOSF)
RBAS = CONFIG_ECAM_MMCONF_BASE_ADDRESS + 0xD0 RBAS = CONFIG_ECAM_MMCONF_BASE_ADDRESS + 0xD0
Return (^RBUF) Return (^RBUF)
} }
Method (_STA)
{
#if CONFIG(CHROMEOS)
Return (0xF)
#else
Return (0x0)
#endif
}
} }
/* LPC Bridge 0:1f.0 */ /* LPC Bridge 0:1f.0 */