nb/intel/i945: Use ASL 2.0 syntax

Tested with BUILD_TIMELESS=1, Getac P470 remains identical.

Change-Id: Ibf6904246ee47dffdb5fa2e24cc7a230f439c7e7
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43178
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-07-07 16:19:12 +02:00
parent 837141fa56
commit f67bf49ead
1 changed files with 2 additions and 2 deletions

View File

@ -208,8 +208,8 @@ Method (_CRS, 0, Serialized)
* Enter actual TOLUD. The TOLUD register contains bits 27-31 of
* the top of memory address.
*/
ShiftLeft (^MCHC.TLUD, 27, PMIN)
Add(Subtract(PMAX, PMIN), 1, PLEN)
PMIN = ^MCHC.TLUD << 27
PLEN = PMAX - PMIN + 1
Return (MCRS)
}