{acpi,arch,soc}/acpi: Replace constant "One" with actual number
Change-Id: I3dfd7dd1de3bd27c35c195bd43c4a5b8c5a2dc53 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71522 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -37,9 +37,9 @@ Device (HDAS)
|
||||
* if NHLT address and length are set in NVS.
|
||||
*/
|
||||
If (Arg1 == 1 && NHLA != 0 && NHLL != 0) {
|
||||
Return (Buffer (One) { 0x03 })
|
||||
Return (Buffer (1) { 0x03 })
|
||||
} Else {
|
||||
Return (Buffer (One) { 0x01 })
|
||||
Return (Buffer (1) { 0x01 })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,6 +63,6 @@ Device (HDAS)
|
||||
}
|
||||
}
|
||||
|
||||
Return (Buffer (One) { 0x00 })
|
||||
Return (Buffer (1) { 0x00 })
|
||||
}
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@ Method (UWES, 3, Serialized)
|
||||
{
|
||||
Local0 = Arg0
|
||||
|
||||
While (One) {
|
||||
While (1) {
|
||||
FindSetRightBit (Local0, Local1)
|
||||
If (Local1 == Zero) {
|
||||
Break
|
||||
|
Reference in New Issue
Block a user