tree: Replace And(a,b,c) with ASL 2.0 syntax
Replace `And (a, b, c)` with `c = a & b`, respectively `c &= b` where possible. Change-Id: Ie558f9d0b597c56ca3b31498edb68de8877d3a2f Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70850 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -45,7 +45,7 @@ Scope (\_SB.PCI0) {
|
||||
^^SCSC (PID_EMMC)
|
||||
|
||||
/* Set Power State to D0 */
|
||||
And (PMCR, 0xFFFC, PMCR)
|
||||
PMCR &= 0xFFFC
|
||||
^TEMP = PMCR
|
||||
}
|
||||
|
||||
@@ -209,7 +209,7 @@ Scope (\_SB.PCI0) {
|
||||
^^SCSC (PID_SDX)
|
||||
|
||||
/* Set Power State to D0 */
|
||||
And (PMCR, 0xFFFC, PMCR)
|
||||
PMCR &= 0xFFFC
|
||||
^TEMP = PMCR
|
||||
|
||||
#if CONFIG(MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE)
|
||||
|
Reference in New Issue
Block a user