sb/intel/i82801ix/acpi: Replace Add(a,b,c) with ASL 2.0 syntax
Replace `Add (a, b, c)` with `c = a + b`. Change-Id: I09a37ff47002640c7bbc151028b4d4576f9fbfac Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60514 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
a64944f5b2
commit
4e099552d8
|
@ -73,15 +73,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 (Lequal(HPAS, 1)) {
|
||||||
Add(CONFIG_HPET_ADDRESS, 0x1000, HPT0)
|
HPT0 = CONFIG_HPET_ADDRESS + 0x1000
|
||||||
}
|
}
|
||||||
|
|
||||||
If (Lequal(HPAS, 2)) {
|
If (Lequal(HPAS, 2)) {
|
||||||
Add(CONFIG_HPET_ADDRESS, 0x2000, HPT0)
|
HPT0 = CONFIG_HPET_ADDRESS + 0x2000
|
||||||
}
|
}
|
||||||
|
|
||||||
If (Lequal(HPAS, 3)) {
|
If (Lequal(HPAS, 3)) {
|
||||||
Add(CONFIG_HPET_ADDRESS, 0x3000, HPT0)
|
HPT0 = CONFIG_HPET_ADDRESS + 0x3000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue