sb/intel/i82801jx/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual(a, b)` with `a == b`. Change-Id: I3aebd29bba285229979b79867c881018f61e2060 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
This commit is contained in:
parent
561f7df3bd
commit
a41716fadc
|
@ -175,7 +175,7 @@ Scope(\)
|
||||||
Method (_OSC, 4)
|
Method (_OSC, 4)
|
||||||
{
|
{
|
||||||
/* Check for proper GUID */
|
/* Check for proper GUID */
|
||||||
If (LEqual (Arg0, ToUUID("33DB4D5B-1FF7-401C-9657-7441C03DD766")))
|
If (Arg0 == ToUUID("33DB4D5B-1FF7-401C-9657-7441C03DD766"))
|
||||||
{
|
{
|
||||||
/* Let OS control everything */
|
/* Let OS control everything */
|
||||||
Return (Arg3)
|
Return (Arg3)
|
||||||
|
|
|
@ -74,15 +74,15 @@ Device (LPCB)
|
||||||
{
|
{
|
||||||
If (HPTE) {
|
If (HPTE) {
|
||||||
CreateDWordField(BUF0, \_SB.PCI0.LPCB.HPET.FED0._BAS, HPT0)
|
CreateDWordField(BUF0, \_SB.PCI0.LPCB.HPET.FED0._BAS, HPT0)
|
||||||
If (Lequal(HPAS, 1)) {
|
If (HPAS == 1) {
|
||||||
HPT0 = HPET_BASE_ADDRESS + 0x1000
|
HPT0 = HPET_BASE_ADDRESS + 0x1000
|
||||||
}
|
}
|
||||||
|
|
||||||
If (Lequal(HPAS, 2)) {
|
If (HPAS == 2) {
|
||||||
HPT0 = HPET_BASE_ADDRESS + 0x2000
|
HPT0 = HPET_BASE_ADDRESS + 0x2000
|
||||||
}
|
}
|
||||||
|
|
||||||
If (Lequal(HPAS, 3)) {
|
If (HPAS == 3) {
|
||||||
HPT0 = HPET_BASE_ADDRESS + 0x3000
|
HPT0 = HPET_BASE_ADDRESS + 0x3000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue