nb/intel/sandybridge: Update to ASL 2.0 syntax
Tested with BUILD_TIMELESS=1, Lenovo ThinkPad X230 remains identical. Change-Id: Ie3570cd0a75c6b34581b35165c1c6393214ad0bb Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44151 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
ecec9474d8
commit
5cd8c7c3e6
|
@ -151,12 +151,12 @@ Device (MCHC)
|
|||
If (Acquire (CTCM, 100)) {
|
||||
Return (0)
|
||||
}
|
||||
If (LEqual (CTCD, CTCC)) {
|
||||
If (CTCD == CTCC) {
|
||||
Release (CTCM)
|
||||
Return (0)
|
||||
}
|
||||
|
||||
Store ("Set TDP Down", Debug)
|
||||
Debug = "Set TDP Down"
|
||||
|
||||
/* Set CTC */
|
||||
CTCS = CTCD
|
||||
|
@ -187,12 +187,12 @@ Device (MCHC)
|
|||
If (Acquire (CTCM, 100)) {
|
||||
Return (0)
|
||||
}
|
||||
If (LEqual (CTCN, CTCC)) {
|
||||
If (CTCN == CTCC) {
|
||||
Release (CTCM)
|
||||
Return (0)
|
||||
}
|
||||
|
||||
Store ("Set TDP Nominal", Debug)
|
||||
Debug = "Set TDP Nominal"
|
||||
|
||||
/* Set PL1 */
|
||||
PL1V = CTDN
|
||||
|
|
Loading…
Reference in New Issue