From f344afb670adfa7b24ec28e788972be1aeefa90e Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 31 Aug 2024 10:13:47 +0200 Subject: tree: Use boolean for skip_ext_gfx_scan Change-Id: I569b9a69add341bcefe6bd5356b01a95a4e97286 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/84154 Tested-by: build bot (Jenkins) Reviewed-by: Jakub Czapiga --- src/mainboard/google/rex/variants/baseboard/ovis/devicetree.cb | 2 +- src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb | 2 +- src/mainboard/google/rex/variants/baseboard/rex/devicetree.cb | 2 +- src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb | 2 +- src/soc/intel/pantherlake/chip.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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; -- cgit v1.2.3