summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-08-31 10:13:47 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-09-04 01:17:08 +0000
commitf344afb670adfa7b24ec28e788972be1aeefa90e (patch)
treec79e2bd1e08c678d4bc7f5577f3241ac7533a20c
parent2f8b77b76bdbb6e93f1a9ca3c73f9bb38ec55b41 (diff)
tree: Use boolean for skip_ext_gfx_scan
Change-Id: I569b9a69add341bcefe6bd5356b01a95a4e97286 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84154 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <czapiga@google.com>
-rw-r--r--src/mainboard/google/rex/variants/baseboard/ovis/devicetree.cb2
-rw-r--r--src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb2
-rw-r--r--src/mainboard/google/rex/variants/baseboard/rex/devicetree.cb2
-rw-r--r--src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb2
-rw-r--r--src/soc/intel/pantherlake/chip.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/google/rex/variants/baseboard/ovis/devicetree.cb b/src/mainboard/google/rex/variants/baseboard/ovis/devicetree.cb
index f0eb655eb2..2cfa075c30 100644
--- a/src/mainboard/google/rex/variants/baseboard/ovis/devicetree.cb
+++ b/src/mainboard/google/rex/variants/baseboard/ovis/devicetree.cb
@@ -70,7 +70,7 @@ chip soc/intel/meteorlake
register "energy_perf_pref_value" = "0x73"
# Set on-board graphics as primary display
- register "skip_ext_gfx_scan" = "1"
+ register "skip_ext_gfx_scan" = "true"
register "serial_io_uart_mode" = "{
[PchSerialIoIndexUART0] = PchSerialIoPci,
diff --git a/src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb b/src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb
index 16506ac4b9..18c419285a 100644
--- a/src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb
+++ b/src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb
@@ -68,7 +68,7 @@ chip soc/intel/meteorlake
register "sagv_gear[3]" = "2"
# Set on-board graphics as primary display
- register "skip_ext_gfx_scan" = "1"
+ register "skip_ext_gfx_scan" = "true"
register "serial_io_uart_mode" = "{
[PchSerialIoIndexUART0] = PchSerialIoPci,
diff --git a/src/mainboard/google/rex/variants/baseboard/rex/devicetree.cb b/src/mainboard/google/rex/variants/baseboard/rex/devicetree.cb
index 13558a4ba4..58c725e0f9 100644
--- a/src/mainboard/google/rex/variants/baseboard/rex/devicetree.cb
+++ b/src/mainboard/google/rex/variants/baseboard/rex/devicetree.cb
@@ -70,7 +70,7 @@ chip soc/intel/meteorlake
register "energy_perf_pref_value" = "0x73"
# Set on-board graphics as primary display
- register "skip_ext_gfx_scan" = "1"
+ register "skip_ext_gfx_scan" = "true"
register "serial_io_uart_mode" = "{
[PchSerialIoIndexUART0] = PchSerialIoSkipInit,
diff --git a/src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb b/src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb
index d7a5f8058f..9e8f870eca 100644
--- a/src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb
+++ b/src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb
@@ -65,7 +65,7 @@ chip soc/intel/meteorlake
register "sagv_gear[3]" = "2"
# Set on-board graphics as primary display
- register "skip_ext_gfx_scan" = "1"
+ register "skip_ext_gfx_scan" = "true"
register "serial_io_uart_mode" = "{
[PchSerialIoIndexUART0] = PchSerialIoPci,
diff --git a/src/soc/intel/pantherlake/chip.h b/src/soc/intel/pantherlake/chip.h
index 589ce14eed..d1dbe444e4 100644
--- a/src/soc/intel/pantherlake/chip.h
+++ b/src/soc/intel/pantherlake/chip.h
@@ -179,7 +179,7 @@ struct soc_intel_pantherlake_config {
IGD_SM_56MB = 0xFD,
IGD_SM_60MB = 0xFE,
} IgdDvmt50PreAlloc;
- uint8_t skip_ext_gfx_scan;
+ bool skip_ext_gfx_scan;
/* CNVi WiFi Core Enable/Disable */
bool cnvi_wifi_core;