soc/intel/baytrail: add _HRV to GPIO ACPI devices

For some reason, the Windows LPEA drivers won't attach without
 _HRV (hardware version) defined for the GPIO controllers.
Add it, using value taken from Intel baytrail/valleyview edk2
reference code.

TEST=boot Windows 10/11 on google/rambi, verify LPEA drivers load
properly.

Change-Id: Iaa6e1b3f68537e012e4a58175d5334a8aa2f4178
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71200
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Matt DeVillier 2017-03-17 19:14:20 -05:00 committed by Martin L Roth
parent e20165d7bb
commit 7cfedc8b1b
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,8 @@ Device (GPSC)
Return (^RBUF) Return (^RBUF)
} }
Method (_HRV, 0, NotSerialized) { Return (0x06) }
Method (_STA) Method (_STA)
{ {
Return (0xF) Return (0xF)
@ -55,6 +57,8 @@ Device (GPNC)
Return (^RBUF) Return (^RBUF)
} }
Method (_HRV, 0, NotSerialized) { Return (0x06) }
Method (_STA) Method (_STA)
{ {
Return (0xF) Return (0xF)
@ -84,6 +88,8 @@ Device (GPSS)
Return (^RBUF) Return (^RBUF)
} }
Method (_HRV, 0, NotSerialized) { Return (0x06) }
Method (_STA) Method (_STA)
{ {
Return (0xF) Return (0xF)