summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 08:45:56 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:05:15 +0000
commit7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (patch)
treee2dbc1e8cedf54fc1449e759deaff4e42c5f1bc6 /src/soc/intel/braswell
parentdfbb634ae16065811894d67ff802c1e838ce0749 (diff)
{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>
Diffstat (limited to 'src/soc/intel/braswell')
-rw-r--r--src/soc/intel/braswell/acpi/dptf/charger.asl2
-rw-r--r--src/soc/intel/braswell/acpi/dptf/cpu.asl2
-rw-r--r--src/soc/intel/braswell/acpi/dptf/dptf.asl2
-rw-r--r--src/soc/intel/braswell/acpi/dptf/thermal.asl6
-rw-r--r--src/soc/intel/braswell/acpi/dptf/wifi.asl2
-rw-r--r--src/soc/intel/braswell/acpi/dptf/wwan.asl2
-rw-r--r--src/soc/intel/braswell/acpi/southcluster.asl2
7 files changed, 9 insertions, 9 deletions
diff --git a/src/soc/intel/braswell/acpi/dptf/charger.asl b/src/soc/intel/braswell/acpi/dptf/charger.asl
index 68245c9f72..76209c9a46 100644
--- a/src/soc/intel/braswell/acpi/dptf/charger.asl
+++ b/src/soc/intel/braswell/acpi/dptf/charger.asl
@@ -9,7 +9,7 @@ Device (TCHG)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
diff --git a/src/soc/intel/braswell/acpi/dptf/cpu.asl b/src/soc/intel/braswell/acpi/dptf/cpu.asl
index 7a8511fd00..728d09478d 100644
--- a/src/soc/intel/braswell/acpi/dptf/cpu.asl
+++ b/src/soc/intel/braswell/acpi/dptf/cpu.asl
@@ -40,7 +40,7 @@ Device (B0DB)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
diff --git a/src/soc/intel/braswell/acpi/dptf/dptf.asl b/src/soc/intel/braswell/acpi/dptf/dptf.asl
index c4d9c61c13..eddabd10f6 100644
--- a/src/soc/intel/braswell/acpi/dptf/dptf.asl
+++ b/src/soc/intel/braswell/acpi/dptf/dptf.asl
@@ -19,7 +19,7 @@ Device (DPTF)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
diff --git a/src/soc/intel/braswell/acpi/dptf/thermal.asl b/src/soc/intel/braswell/acpi/dptf/thermal.asl
index 0f5d90ff23..2f49ffe1db 100644
--- a/src/soc/intel/braswell/acpi/dptf/thermal.asl
+++ b/src/soc/intel/braswell/acpi/dptf/thermal.asl
@@ -52,7 +52,7 @@ Device (TSR0)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -108,7 +108,7 @@ Device (TSR1)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
@@ -164,7 +164,7 @@ Device (TSR2)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
diff --git a/src/soc/intel/braswell/acpi/dptf/wifi.asl b/src/soc/intel/braswell/acpi/dptf/wifi.asl
index 8c0105f038..9ea9ef615e 100644
--- a/src/soc/intel/braswell/acpi/dptf/wifi.asl
+++ b/src/soc/intel/braswell/acpi/dptf/wifi.asl
@@ -9,7 +9,7 @@ Device (WIFI)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
diff --git a/src/soc/intel/braswell/acpi/dptf/wwan.asl b/src/soc/intel/braswell/acpi/dptf/wwan.asl
index bef112f906..91dbf93712 100644
--- a/src/soc/intel/braswell/acpi/dptf/wwan.asl
+++ b/src/soc/intel/braswell/acpi/dptf/wwan.asl
@@ -9,7 +9,7 @@ Device (WWAN)
Method (_STA)
{
- If (\DPTE == One) {
+ If (\DPTE == 1) {
Return (0xF)
} Else {
Return (0x0)
diff --git a/src/soc/intel/braswell/acpi/southcluster.asl b/src/soc/intel/braswell/acpi/southcluster.asl
index 2a374f0b71..39aa076caf 100644
--- a/src/soc/intel/braswell/acpi/southcluster.asl
+++ b/src/soc/intel/braswell/acpi/southcluster.asl
@@ -154,7 +154,7 @@ Method (_CRS, 0, Serialized)
CreateDWordField (MCRS, LMEM._MIN, LMIN)
CreateDWordField (MCRS, LMEM._MAX, LMAX)
CreateDWordField (MCRS, LMEM._LEN, LLEN)
- If (LPFW != Zero && LPEN == One)
+ If (LPFW != Zero && LPEN == 1)
{
LMIN = LPFW
LMAX = LMIN + 0x001FFFFF