diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-07 09:23:02 +0100 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-12-01 10:27:10 +0000 |
commit | d52bfbb6aa822b8d5137bedef638a5214a07e4da (patch) | |
tree | 871296097a8f332225302fd40d7bbdbd3e7251ff /src/mainboard | |
parent | 634d88c413553bb4e483842032e14c078cb5f165 (diff) |
cpu/intel/sandybridge: Use enum for ACPI C states
Also remove the now unnecessary comments from the devicetree.
Change-Id: Iebbe12fd413b7a2eb1078a579e194eba821ada7c
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69292
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/intel/emeraldlake2/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/kontron/ktqm77/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/roda/rv11/variants/rv11/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/roda/rv11/variants/rw11/devicetree.cb | 4 | ||||
-rw-r--r-- | src/mainboard/samsung/stumpy/devicetree.cb | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/mainboard/intel/emeraldlake2/devicetree.cb b/src/mainboard/intel/emeraldlake2/devicetree.cb index 9255848b2a..fef8992cd4 100644 --- a/src/mainboard/intel/emeraldlake2/devicetree.cb +++ b/src/mainboard/intel/emeraldlake2/devicetree.cb @@ -17,8 +17,8 @@ chip northbridge/intel/sandybridge device lapic 0 on end device lapic 0xacac off end - register "acpi_c1" = "3" # ACPI(C1) = MWAIT(C3) - register "acpi_c2" = "4" # ACPI(C2) = MWAIT(C6) + register "acpi_c1" = "CPU_ACPI_C3" + register "acpi_c2" = "CPU_ACPI_C6" end end diff --git a/src/mainboard/kontron/ktqm77/devicetree.cb b/src/mainboard/kontron/ktqm77/devicetree.cb index 1bbbbfc32d..a72b94f9f5 100644 --- a/src/mainboard/kontron/ktqm77/devicetree.cb +++ b/src/mainboard/kontron/ktqm77/devicetree.cb @@ -8,8 +8,8 @@ chip northbridge/intel/sandybridge device lapic 0 on end device lapic 0xacac off end - register "acpi_c2" = "4" # ACPI(C2) = MWAIT(C3) - register "acpi_c3" = "0" # ACPI(C3) = MWAIT(C7) + register "acpi_c2" = "CPU_ACPI_C6" + register "acpi_c3" = "CPU_ACPI_DISABLED" end end diff --git a/src/mainboard/roda/rv11/variants/rv11/devicetree.cb b/src/mainboard/roda/rv11/variants/rv11/devicetree.cb index 7cb6812695..2e5ee0ff9a 100644 --- a/src/mainboard/roda/rv11/variants/rv11/devicetree.cb +++ b/src/mainboard/roda/rv11/variants/rv11/devicetree.cb @@ -23,8 +23,8 @@ chip northbridge/intel/sandybridge device lapic 0 on end device lapic 0xacac off end - register "acpi_c2" = "4" # ACPI(C2) = MWAIT(C6) - register "acpi_c3" = "0" + register "acpi_c2" = "CPU_ACPI_C6" + register "acpi_c3" = "CPU_ACPI_DISABLED" end end diff --git a/src/mainboard/roda/rv11/variants/rw11/devicetree.cb b/src/mainboard/roda/rv11/variants/rw11/devicetree.cb index 96a8ce848c..20b1c9a989 100644 --- a/src/mainboard/roda/rv11/variants/rw11/devicetree.cb +++ b/src/mainboard/roda/rv11/variants/rw11/devicetree.cb @@ -23,8 +23,8 @@ chip northbridge/intel/sandybridge device lapic 0 on end device lapic 0xacac off end - register "acpi_c2" = "4" # ACPI(C2) = MWAIT(C6) - register "acpi_c3" = "0" + register "acpi_c2" = "CPU_ACPI_C6" + register "acpi_c3" = "CPU_ACPI_DISABLED" end end diff --git a/src/mainboard/samsung/stumpy/devicetree.cb b/src/mainboard/samsung/stumpy/devicetree.cb index ea164c480d..cd7b907d63 100644 --- a/src/mainboard/samsung/stumpy/devicetree.cb +++ b/src/mainboard/samsung/stumpy/devicetree.cb @@ -17,8 +17,8 @@ chip northbridge/intel/sandybridge device lapic 0 on end device lapic 0xacac off end - register "acpi_c1" = "3" # ACPI(C1) = MWAIT(C3) - register "acpi_c2" = "4" # ACPI(C2) = MWAIT(C6) + register "acpi_c1" = "CPU_ACPI_C3" + register "acpi_c2" = "CPU_ACPI_C6" end end |