diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 09:32:47 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:05:56 +0000 |
commit | fa06bcba06c5842faae797629e9f72ec28d511c0 (patch) | |
tree | 8fba8940a2bf47e403ee5009a623960cf344c975 /src/mainboard/samsung | |
parent | 7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (diff) |
mainboard/acpi: Replace constant "Zero" with actual number
Change-Id: I4f2f02623b060ef0ebefc5aceb713c77a8b1e9a6
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71523
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/samsung')
-rw-r--r-- | src/mainboard/samsung/lumpy/acpi/usb.asl | 36 | ||||
-rw-r--r-- | src/mainboard/samsung/stumpy/acpi/thermal.asl | 10 |
2 files changed, 23 insertions, 23 deletions
diff --git a/src/mainboard/samsung/lumpy/acpi/usb.asl b/src/mainboard/samsung/lumpy/acpi/usb.asl index 986ab5b0f9..b9418721bb 100644 --- a/src/mainboard/samsung/lumpy/acpi/usb.asl +++ b/src/mainboard/samsung/lumpy/acpi/usb.asl @@ -7,14 +7,14 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device { - Return (GPLD (Zero)) + Return (GPLD (0)) } Device (USB1) @@ -25,9 +25,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1) Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities { 0xFF, // Connectable - Zero, // USB Port - Zero, // Reserved - Zero // Reserved + 0, // USB Port + 0, // Reserved + 0 // Reserved }) // Visible @@ -46,9 +46,9 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1) Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities { 0xFF, // Connectable - Zero, // USB Port - Zero, // Reserved - Zero // Reserved + 0, // USB Port + 0, // Reserved + 0 // Reserved }) // Visible @@ -67,14 +67,14 @@ Scope (\_SB.PCI0.EHC1.HUB7.PRT1) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device { - Return (GPLD (Zero)) + Return (GPLD (0)) } } @@ -87,14 +87,14 @@ Scope (\_SB.PCI0.EHC2.HUB7.PRT1) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device { - Return (GPLD (Zero)) + Return (GPLD (0)) } Device (USB4) @@ -106,14 +106,14 @@ Scope (\_SB.PCI0.EHC2.HUB7.PRT1) { 0xFF, // Connectable 0xFF, // OEM Connector - Zero, // Reserved - Zero // Reserved + 0, // Reserved + 0 // Reserved }) // Not Visible Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device { - Return (GPLD (Zero)) + Return (GPLD (0)) } } } diff --git a/src/mainboard/samsung/stumpy/acpi/thermal.asl b/src/mainboard/samsung/stumpy/acpi/thermal.asl index 44bf558799..1edaafd84e 100644 --- a/src/mainboard/samsung/stumpy/acpi/thermal.asl +++ b/src/mainboard/samsung/stumpy/acpi/thermal.asl @@ -121,7 +121,7 @@ Scope (\_TZ) If (\FLVL <= 0) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { @@ -142,7 +142,7 @@ Scope (\_TZ) If (\FLVL <= 1) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { @@ -163,7 +163,7 @@ Scope (\_TZ) If (\FLVL <= 2) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { @@ -184,7 +184,7 @@ Scope (\_TZ) If (\FLVL <= 3) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { @@ -205,7 +205,7 @@ Scope (\_TZ) If (\FLVL <= 4) { Return (1) } Else { - Return (Zero) + Return (0) } } Method (_ON) { |